public interface MetricOperation<T,L>
| Modifier and Type | Field and Description |
|---|---|
static String |
METRIC_ENDPOINT_URL |
| Modifier and Type | Method and Description |
|---|---|
T |
metric()
Get a single metric.
|
L |
metrics()
Get a list of metrics
|
L |
metrics(Map<String,Object> labelsMap)
Returns a list of metrics matching specified labels
|
MetricOperation<T,L> |
withLabels(Map<String,String> labels)
Filter metrics via labels.
|
MetricOperation<T,L> |
withName(String name) |
static final String METRIC_ENDPOINT_URL
MetricOperation<T,L> withName(String name)
MetricOperation<T,L> withLabels(Map<String,String> labels)
labels - labels as HashMapMetricOperation with which you can call metrics() for getting filtered MetricsL metrics()
T metric()
Copyright © 2015–2022 Red Hat. All rights reserved.