Class MetricsEndpoint
java.lang.Object
org.springframework.boot.actuate.metrics.MetricsEndpoint
An
@Endpoint
for exposing the metrics held by a MeterRegistry
.- Since:
- 2.0.0
- Author:
- Jon Schneider, Phillip Webb
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A set of tags for further dimensional drill-down and their potential values.static final class
Description of a metric.static final class
Description of metric names.static final class
A measurement sample combining astatistic
and a value. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
MetricsEndpoint
public MetricsEndpoint(io.micrometer.core.instrument.MeterRegistry registry)
-
-
Method Details
-
listNames
-
metric
@ReadOperation public MetricsEndpoint.MetricDescriptor metric(@Selector String requiredMetricName, @Nullable List<String> tag)
-