Enum Class DefaultMeterObservationHandler.IgnoredMeters

java.lang.Object
java.lang.Enum<DefaultMeterObservationHandler.IgnoredMeters>
io.micrometer.core.instrument.observation.DefaultMeterObservationHandler.IgnoredMeters
All Implemented Interfaces:
Serializable, Comparable<DefaultMeterObservationHandler.IgnoredMeters>, Constable
Enclosing class:
DefaultMeterObservationHandler

@Deprecated public static enum DefaultMeterObservationHandler.IgnoredMeters extends Enum<DefaultMeterObservationHandler.IgnoredMeters>
Deprecated.
since 1.18.0 with no direct replacement. This enum names a meter type rather than a specific meter this handler creates, and its opt-out semantics cannot express a different default. Configure meters individually with DefaultMeterObservationHandler.builder(MeterRegistry), for example DefaultMeterObservationHandler.Builder.includeActiveObservationLongTaskTimer(boolean).
Meter types to ignore.
Since:
1.13.0
  • Enum Constant Details

  • Method Details

    • values

      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null