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 String
groupPattern
String
labelPattern
Set<String>
metricFilters
String
registryPattern
-
-
-
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 inMetricsCollectorHandler
to select the target registry for metrics to aggregate. Must not be null or empty. It may contain back-references to capture groups fromregistryPattern
labelPattern
- name of this group of metrics. This is used inMetricsCollectorHandler
to 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)
-
-