org.springframework.boot.actuate.autoconfigure.metrics

Class OnlyOnceLoggingDenyMeterFilter

  • java.lang.Object
    • org.springframework.boot.actuate.autoconfigure.metrics.OnlyOnceLoggingDenyMeterFilter
  • All Implemented Interfaces:
    io.micrometer.core.instrument.config.MeterFilter


    public final class OnlyOnceLoggingDenyMeterFilter
    extends Object
    implements io.micrometer.core.instrument.config.MeterFilter
    MeterFilter to log only once a warning message and deny Meter.Id.
    Since:
    2.0.5
    Author:
    Jon Schneider, Dmytro Nosan
    • Constructor Detail

      • OnlyOnceLoggingDenyMeterFilter

        public OnlyOnceLoggingDenyMeterFilter(Supplier<String> message)
    • Method Detail

      • accept

        public io.micrometer.core.instrument.config.MeterFilterReply accept(io.micrometer.core.instrument.Meter.Id id)
        Specified by:
        accept in interface io.micrometer.core.instrument.config.MeterFilter