Interface Meter

All Superinterfaces:
Wrapper
All Known Subinterfaces:
Counter, DistributionSummary, FunctionalCounter, Gauge<N>, Timer

public interface Meter extends Wrapper
Common behavior of all meters.
  • Method Details

    • id

      Meter.Id id()
      Returns the meter ID.
      Returns:
      meter ID
    • baseUnit

      Optional<String> baseUnit()
      Returns the meter's base unit.
      Returns:
      base unit
    • description

      Optional<String> description()
      Returns the meter's description.
      Returns:
      description
    • type

      Meter.Type type()
      Returns the meter type.
      Returns:
      meter type
    • scope

      Optional<String> scope()
      Returns the scope associated with the meter.
      Returns:
      scope