Class InfoMetric

  • All Implemented Interfaces:

    
    public final class InfoMetric
    extends Metric<String>
                        

    InfoMetric wraps around a single key-value information pair. Useful for general information such as build versions, JVB region, etc. In the Prometheus exposition format, these are shown as labels of either a custom metric (OpenMetrics) or a Gauge (0.0.4 plain text).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName() the name of this metric
      String get() Supplies the current value of this metric.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait