Class MetricsEndpoint
java.lang.Object
org.springframework.boot.metrics.actuate.endpoint.MetricsEndpoint
An
@Endpoint for exposing the metrics held by a MeterRegistry.- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of tags for further dimensional drill-down and their potential values.static final classDescription of a metric.static final classDescription of metric names.static final classA measurement sample combining astatisticand a value. -
Constructor Summary
Constructors -
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, @OptionalParameter List<String> tag)
-