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 String
CORE_SEARCHER_METRICS
static String
CORE_SEARCHER_TIMES
-
Fields inherited from class org.apache.solr.metrics.prometheus.core.SolrCoreMetric
coreName
-
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 coreName, String metricName, boolean cloudMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrCoreMetric
parseLabels()
void
toPrometheus(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
-
-
Method Detail
-
parseLabels
public SolrCoreMetric parseLabels()
- Specified by:
parseLabels
in classSolrMetric
-
toPrometheus
public void toPrometheus(SolrPrometheusFormatter formatter)
- Specified by:
toPrometheus
in classSolrMetric
-
-