Class MetricValue


  • public abstract class MetricValue
    extends Object
    Author:
    kir Contains the description of the metric and encapsulates the latest value (depending on metric type)
    • Method Detail

      • getMetricId

        public MetricId getMetricId()
      • getValues

        public abstract Map<MetricValueKey,​Double> getValues()
        Returns:
        metric values. Key in the map contains:
        • Name, which may work as suffixes for the exported Prometheus metric names.
        • Additional tags, which are relevant only to this metric value. These may be combined with MetricId.tags.