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 Detail

      • record

        void record​(Collection<org.opennms.integration.api.v1.timeseries.Sample> samples)
      • getTopNMetricsWithMostTags

        List<org.opennms.integration.api.v1.timeseries.Metric> getTopNMetricsWithMostTags()
        List.get(0) => has most tags (top n)