Class SolrCoreCacheMetric
- java.lang.Object
-
- org.apache.solr.metrics.prometheus.SolrMetric
-
- org.apache.solr.metrics.prometheus.core.SolrCoreMetric
-
- org.apache.solr.metrics.prometheus.core.SolrCoreCacheMetric
-
public class SolrCoreCacheMetric extends SolrCoreMetric
Dropwizard metrics of name CACHE.*
-
-
Field Summary
Fields Modifier and Type Field Description static StringCORE_CACHE_SEARCHER_METRICS-
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 SolrCoreCacheMetric(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_CACHE_SEARCHER_METRICS
public static final String CORE_CACHE_SEARCHER_METRICS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolrCoreCacheMetric
public SolrCoreCacheMetric(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
-
-