public interface MultiValueMetricsAggregator
Modifier and Type | Method and Description |
---|---|
List<MetricsFilter> |
getFilters() |
long |
getValue(String name)
Gets the metric value of the given fully qualified metric name.
|
Map<String,Long> |
updateValues(Map<MetricsFilter,Set<Metric>> map)
Updates the aggregated values from the filtered metrics.
|
List<MetricsFilter> getFilters()
Map<String,Long> updateValues(Map<MetricsFilter,Set<Metric>> map)
MetricsFilter
defined in getFilters()
. The returned values
are organized as a map from the metric name to metric value.map
- a map of MetricsFilter
to the set of metrics that it filter tolong getValue(String name)
name
- the fully qualified metric nameCopyright © 2023. All Rights Reserved.