Class MetricSamples
- java.lang.Object
-
- org.apache.solr.prometheus.collector.MetricSamples
-
public class MetricSamples extends Object
-
-
Constructor Summary
Constructors Constructor Description MetricSamples()
MetricSamples(Map<String,io.prometheus.client.Collector.MetricFamilySamples> input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll(MetricSamples other)
void
addSampleIfMetricExists(String metricName, io.prometheus.client.Collector.MetricFamilySamples.Sample sample)
void
addSamplesIfNotPresent(String metricName, io.prometheus.client.Collector.MetricFamilySamples metricFamilySamples)
List<io.prometheus.client.Collector.MetricFamilySamples>
asList()
-
-
-
Method Detail
-
addSamplesIfNotPresent
public void addSamplesIfNotPresent(String metricName, io.prometheus.client.Collector.MetricFamilySamples metricFamilySamples)
-
addSampleIfMetricExists
public void addSampleIfMetricExists(String metricName, io.prometheus.client.Collector.MetricFamilySamples.Sample sample)
-
addAll
public void addAll(MetricSamples other)
-
asList
public List<io.prometheus.client.Collector.MetricFamilySamples> asList()
-
-