| Modifier and Type | Method and Description |
|---|---|
static Timer |
concat(Timer... timers) |
static ProfilerConfiguration |
getConfiguration() |
static void |
onRequestEnd()
Call this method to signal that the request has completed to trigger all configured
profiler strategies and metric strategies to clean up any
request or thread scoped resources associated with profiling state, including closing
any tickers that have not yet been closed. |
static Ticker |
start(String name) |
static Ticker |
startWithMetric(String timerName) |
static Ticker |
startWithMetric(String timerName,
String metricName) |
static Timer |
timer(String name) |
static Timer |
timerWithMetric(String name) |
static Timer |
timerWithMetric(String traceName,
String metricName) |
@Nonnull public static ProfilerConfiguration getConfiguration()
public static void onRequestEnd()
profiler strategies and metric strategies to clean up any
request or thread scoped resources associated with profiling state, including closing
any tickers that have not yet been closed.@Nonnull public static Ticker startWithMetric(@Nonnull String timerName, @Nonnull String metricName)
@Nonnull public static Timer timerWithMetric(@Nonnull String traceName, @Nonnull String metricName)
Copyright © 2019 Atlassian. All rights reserved.