public final class MetricConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetricConfig.Builder |
| Modifier and Type | Field and Description |
|---|---|
List<io.micrometer.core.instrument.Tag> |
commonTags
Tags added to every meter.
|
static MetricConfig |
DEFAULT |
double[] |
percentiles
Percentiles to publish (e.g., 0.95, 0.99).
|
boolean |
perUriIo
If true, IO counters get a "uri" tag (can be high-cardinality).
|
String |
prefix
Metric name prefix; defaults to "http.client".
|
Duration |
slo
Service-level objective for latency histograms.
|
public final String prefix
public final Duration slo
public final double[] percentiles
public final boolean perUriIo
public final List<io.micrometer.core.instrument.Tag> commonTags
public static final MetricConfig DEFAULT
public static MetricConfig.Builder builder()
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.