Class MicrometerGauge

  • All Implemented Interfaces:
    org.apache.iotdb.metrics.type.Gauge, org.apache.iotdb.metrics.type.IMetric

    public class MicrometerGauge
    extends java.lang.Object
    implements org.apache.iotdb.metrics.type.Gauge
    • Constructor Summary

      Constructors 
      Constructor Description
      MicrometerGauge​(io.micrometer.core.instrument.MeterRegistry meterRegistry, java.lang.String metricName, java.lang.String... tags)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void decr​(long value)  
      void incr​(long value)  
      void set​(long value)  
      long value()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.metrics.type.Gauge

        constructValueMap
    • Constructor Detail

      • MicrometerGauge

        public MicrometerGauge​(io.micrometer.core.instrument.MeterRegistry meterRegistry,
                               java.lang.String metricName,
                               java.lang.String... tags)
    • Method Detail

      • value

        public long value()
        Specified by:
        value in interface org.apache.iotdb.metrics.type.Gauge
      • incr

        public void incr​(long value)
        Specified by:
        incr in interface org.apache.iotdb.metrics.type.Gauge
      • decr

        public void decr​(long value)
        Specified by:
        decr in interface org.apache.iotdb.metrics.type.Gauge
      • set

        public void set​(long value)
        Specified by:
        set in interface org.apache.iotdb.metrics.type.Gauge