Class SolrJvmMemoryMetric
- java.lang.Object
-
- org.apache.solr.metrics.prometheus.SolrMetric
-
- org.apache.solr.metrics.prometheus.jvm.SolrJvmMetric
-
- org.apache.solr.metrics.prometheus.jvm.SolrJvmMemoryMetric
-
public class SolrJvmMemoryMetric extends SolrJvmMetric
-
-
Field Summary
Fields Modifier and Type Field Description static String
JVM_MEMORY
static String
JVM_MEMORY_POOL_BYTES
-
Fields inherited from class org.apache.solr.metrics.prometheus.SolrMetric
dropwizardMetric, labels, metricName
-
-
Constructor Summary
Constructors Constructor Description SolrJvmMemoryMetric(com.codahale.metrics.Metric dropwizardMetric, String metricName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrMetric
parseLabels()
void
toPrometheus(SolrPrometheusFormatter formatter)
-
Methods inherited from class org.apache.solr.metrics.prometheus.SolrMetric
getLabels
-
-
-
-
Field Detail
-
JVM_MEMORY_POOL_BYTES
public static final String JVM_MEMORY_POOL_BYTES
- See Also:
- Constant Field Values
-
JVM_MEMORY
public static final String JVM_MEMORY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolrJvmMemoryMetric
public SolrJvmMemoryMetric(com.codahale.metrics.Metric dropwizardMetric, String metricName)
-
-
Method Detail
-
parseLabels
public SolrMetric parseLabels()
- Specified by:
parseLabels
in classSolrMetric
-
toPrometheus
public void toPrometheus(SolrPrometheusFormatter formatter)
- Specified by:
toPrometheus
in classSolrMetric
-
-