Class SolrReporter.Report

  • Enclosing class:
    SolrReporter

    public static final class SolrReporter.Report
    extends Object
    Specification of what registries and what metrics to send.
    • Field Detail

      • groupPattern

        public String groupPattern
      • labelPattern

        public String labelPattern
      • registryPattern

        public String registryPattern
      • metricFilters

        public Set<String> metricFilters
    • Constructor Detail

      • Report

        public Report​(String groupPattern,
                      String labelPattern,
                      String registryPattern,
                      Collection<String> metricFilters)
        Create a report specification
        Parameters:
        groupPattern - logical group for these metrics. This is used in MetricsCollectorHandler to select the target registry for metrics to aggregate. Must not be null or empty. It may contain back-references to capture groups from registryPattern
        labelPattern - name of this group of metrics. This is used in MetricsCollectorHandler to prefix metric names. May be null or empty. It may contain back-references to capture groups from registryPattern.
        registryPattern - pattern for selecting matching registries, see SolrMetricManager.registryNames(String...)
        metricFilters - patterns for selecting matching metrics, see SolrMetricManager.RegexFilter