public class MetricSamples extends Object
Constructor and Description |
---|
MetricSamples() |
MetricSamples(Map<String,io.prometheus.client.Collector.MetricFamilySamples> input) |
Modifier and Type | Method and 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 samples) |
List<io.prometheus.client.Collector.MetricFamilySamples> |
asList() |
public MetricSamples(Map<String,io.prometheus.client.Collector.MetricFamilySamples> input)
public MetricSamples()
public void addSamplesIfNotPresent(String metricName, io.prometheus.client.Collector.MetricFamilySamples samples)
public void addSampleIfMetricExists(String metricName, io.prometheus.client.Collector.MetricFamilySamples.Sample sample)
public void addAll(MetricSamples other)
public List<io.prometheus.client.Collector.MetricFamilySamples> asList()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.