Interface StatisticsCollector
-
- All Known Implementing Classes:
StatisticsCollectorImpl
public interface StatisticsCollector
We record statistics to answer the following questions:- What metrics series have the highest tag cardinality? What does the set tags for the top 10 look like?
- Which string properties have the most unique values?
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.opennms.integration.api.v1.timeseries.Metric>
getTopNMetricsWithMostTags()
List.get(0) => has most tags (top n)java.util.List<java.lang.String>
getTopNTags()
void
record(java.util.Collection<org.opennms.integration.api.v1.timeseries.Sample> samples)
-
-
-
Method Detail
-
record
void record(java.util.Collection<org.opennms.integration.api.v1.timeseries.Sample> samples)
-
getTopNMetricsWithMostTags
java.util.List<org.opennms.integration.api.v1.timeseries.Metric> getTopNMetricsWithMostTags()
List.get(0) => has most tags (top n)
-
getTopNTags
java.util.List<java.lang.String> getTopNTags()
-
-