public final class AsyncTimerExec extends Object implements AsyncExecChainHandler
Meters:
<prefix>.request (timer) — latency, uses MetricConfig.slo and MetricConfig.percentiles<prefix>.response (counter) — result count<prefix>.inflight (gauge, kind=async) — in-flight request countmethod, status, and when ObservingOptions.TagLevel#EXTENDED
also protocol, target. Any MetricConfig.commonTags are appended.| Constructor and Description |
|---|
AsyncTimerExec(io.micrometer.core.instrument.MeterRegistry reg,
ObservingOptions opts,
MetricConfig mc) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(HttpRequest request,
AsyncEntityProducer entityProducer,
AsyncExecChain.Scope scope,
AsyncExecChain chain,
AsyncExecCallback callback) |
public AsyncTimerExec(io.micrometer.core.instrument.MeterRegistry reg,
ObservingOptions opts,
MetricConfig mc)
public void execute(HttpRequest request, AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback callback) throws HttpException, IOException
execute in interface AsyncExecChainHandlerHttpExceptionIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.