Class NoopMeter

java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.noop.NoopMeter
All Implemented Interfaces:
Meter
Direct Known Subclasses:
NoopCounter, NoopDistributionSummary, NoopFunctionCounter, NoopFunctionTimer, NoopGauge, NoopLongTaskTimer, NoopTimeGauge, NoopTimer

public class NoopMeter extends AbstractMeter
  • Constructor Details

    • NoopMeter

      public NoopMeter(Meter.Id id)
  • Method Details

    • measure

      public List<Measurement> measure()
      Description copied from interface: Meter
      Get a set of measurements. Should always return the same number of measurements and in the same order, regardless of the level of activity or the lack thereof.
      Returns:
      The set of measurements that represents the instantaneous value of this meter.