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
Response payload for a metric name listing.static final class
Response payload for a metric name selector.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.MetricResponse metric(@Selector String requiredMetricName, @Nullable List<String> tag)
-