Modifier and Type | Class and Description |
---|---|
static class |
MetricsEndpoint.AvailableTag
A set of tags for further dimensional drilldown and their potential values.
|
static class |
MetricsEndpoint.ListNamesResponse
Response payload for a metric name listing.
|
static class |
MetricsEndpoint.MetricResponse
Response payload for a metric name selector.
|
static class |
MetricsEndpoint.Sample
A measurement sample combining a
statistic and a value. |
Constructor and Description |
---|
MetricsEndpoint(io.micrometer.core.instrument.MeterRegistry registry) |
Modifier and Type | Method and Description |
---|---|
MetricsEndpoint.ListNamesResponse |
listNames() |
MetricsEndpoint.MetricResponse |
metric(String requiredMetricName,
List<String> tag) |
public MetricsEndpoint(io.micrometer.core.instrument.MeterRegistry registry)
@ReadOperation public MetricsEndpoint.ListNamesResponse listNames()
@ReadOperation public MetricsEndpoint.MetricResponse metric(@Selector String requiredMetricName, @Nullable List<String> tag)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.