public final class AsyncIoByteCounterExec extends Object implements AsyncExecChainHandler
Meters:
<prefix>.request.bytes (counter, baseUnit=bytes)<prefix>.response.bytes (counter, baseUnit=bytes)method, status, and when ObservingOptions.TagLevel#EXTENDED
also protocol, target. If MetricConfig.perUriIo is true, adds uri.
Any MetricConfig.commonTags are appended. A custom tag mutator may be provided via
ObservingOptions.tagCustomizer.| Constructor and Description |
|---|
AsyncIoByteCounterExec(io.micrometer.core.instrument.MeterRegistry meterRegistry,
ObservingOptions opts,
MetricConfig mc) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(HttpRequest request,
AsyncEntityProducer entityProducer,
AsyncExecChain.Scope scope,
AsyncExecChain chain,
AsyncExecCallback callback) |
public AsyncIoByteCounterExec(io.micrometer.core.instrument.MeterRegistry meterRegistry,
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.