Class SolrReporter.Report
- java.lang.Object
-
- org.apache.solr.metrics.reporters.solr.SolrReporter.Report
-
- Enclosing class:
- SolrReporter
public static final class SolrReporter.Report extends Object
Specification of what registries and what metrics to send.
-
-
Field Summary
Fields Modifier and Type Field Description StringgroupPatternStringlabelPatternSet<String>metricFiltersStringregistryPattern
-
-
-
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 inMetricsCollectorHandlerto select the target registry for metrics to aggregate. Must not be null or empty. It may contain back-references to capture groups fromregistryPatternlabelPattern- name of this group of metrics. This is used inMetricsCollectorHandlerto prefix metric names. May be null or empty. It may contain back-references to capture groups fromregistryPattern.registryPattern- pattern for selecting matching registries, seeSolrMetricManager.registryNames(String...)metricFilters- patterns for selecting matching metrics, seeSolrMetricManager.RegexFilter
-
-
Method Detail
-
fromMap
public static SolrReporter.Report fromMap(Map<?,?> map)
-
-