Class MetricSamples


  • public class MetricSamples
    extends Object
    • Constructor Detail

      • MetricSamples

        public MetricSamples​(Map<String,​io.prometheus.client.Collector.MetricFamilySamples> input)
      • MetricSamples

        public MetricSamples()
    • 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)
      • asList

        public List<io.prometheus.client.Collector.MetricFamilySamples> asList()