Class SolrJettyReqRespMetric
- java.lang.Object
-
- org.apache.solr.metrics.prometheus.SolrMetric
-
- org.apache.solr.metrics.prometheus.jetty.SolrJettyMetric
-
- org.apache.solr.metrics.prometheus.jetty.SolrJettyReqRespMetric
-
public class SolrJettyReqRespMetric extends SolrJettyMetric
-
-
Field Summary
Fields Modifier and Type Field Description static StringJETTY_REQUESTS_TOTALstatic StringJETTY_RESPONSES_TOTAL-
Fields inherited from class org.apache.solr.metrics.prometheus.SolrMetric
dropwizardMetric, labels, metricName
-
-
Constructor Summary
Constructors Constructor Description SolrJettyReqRespMetric(com.codahale.metrics.Metric dropwizardMetric, String metricName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrMetricparseLabels()voidtoPrometheus(SolrPrometheusFormatter formatter)-
Methods inherited from class org.apache.solr.metrics.prometheus.SolrMetric
getLabels
-
-
-
-
Field Detail
-
JETTY_RESPONSES_TOTAL
public static final String JETTY_RESPONSES_TOTAL
- See Also:
- Constant Field Values
-
JETTY_REQUESTS_TOTAL
public static final String JETTY_REQUESTS_TOTAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolrJettyReqRespMetric
public SolrJettyReqRespMetric(com.codahale.metrics.Metric dropwizardMetric, String metricName)
-
-
Method Detail
-
parseLabels
public SolrMetric parseLabels()
- Specified by:
parseLabelsin classSolrMetric
-
toPrometheus
public void toPrometheus(SolrPrometheusFormatter formatter)
- Specified by:
toPrometheusin classSolrMetric
-
-