public interface Metric
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Metric.Builder<B extends Metric.Builder<B,V>,V> |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all
TimeSeries from the metric. |
void |
removeTimeSeries(List<LabelValue> labelValues)
Removes the
TimeSeries from the metric, if it is present. |
void removeTimeSeries(List<LabelValue> labelValues)
TimeSeries from the metric, if it is present. i.e. references to previous
TimeSeries are invalid (not part of the metric).labelValues - the list of label values.NullPointerException - if labelValues is null.void clear()
TimeSeries from the metric. i.e. references to all previous TimeSeries are invalid (not part of the metric).