Class SolrCoreSearcherMetric
- java.lang.Object
-
- org.apache.solr.metrics.prometheus.SolrMetric
-
- org.apache.solr.metrics.prometheus.core.SolrCoreMetric
-
- org.apache.solr.metrics.prometheus.core.SolrCoreSearcherMetric
-
public class SolrCoreSearcherMetric extends SolrCoreMetric
Dropwizard metrics of name SEARCHER.*
-
-
Field Summary
Fields Modifier and Type Field Description static StringCORE_SEARCHER_METRICSstatic StringCORE_SEARCHER_TIMES-
Fields inherited from class org.apache.solr.metrics.prometheus.core.SolrCoreMetric
CLOUD_CORE_PATTERN, CLOUD_LABEL_KEYS, coreName, STANDALONE_CORE_PATTERN, STANDALONE_LABEL_KEYS
-
Fields inherited from class org.apache.solr.metrics.prometheus.SolrMetric
dropwizardMetric, labels, metricName
-
-
Constructor Summary
Constructors Constructor Description SolrCoreSearcherMetric(com.codahale.metrics.Metric dropwizardMetric, String metricName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrCoreMetricparseLabels()voidtoPrometheus(SolrPrometheusFormatter formatter)-
Methods inherited from class org.apache.solr.metrics.prometheus.SolrMetric
getLabels
-
-
-
-
Field Detail
-
CORE_SEARCHER_METRICS
public static final String CORE_SEARCHER_METRICS
- See Also:
- Constant Field Values
-
CORE_SEARCHER_TIMES
public static final String CORE_SEARCHER_TIMES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolrCoreSearcherMetric
public SolrCoreSearcherMetric(com.codahale.metrics.Metric dropwizardMetric, String metricName)
-
-
Method Detail
-
parseLabels
public SolrCoreMetric parseLabels()
- Specified by:
parseLabelsin classSolrMetric
-
toPrometheus
public void toPrometheus(SolrPrometheusFormatter formatter)
- Specified by:
toPrometheusin classSolrMetric
-
-