org.springframework.boot.actuate.autoconfigure.metrics.export.simple

Class SimplePropertiesConfigAdapter

  • All Implemented Interfaces:
    io.micrometer.core.instrument.config.MeterRegistryConfig, io.micrometer.core.instrument.simple.SimpleConfig


    public class SimplePropertiesConfigAdapter
    extends PropertiesConfigAdapter<SimpleProperties>
    implements io.micrometer.core.instrument.simple.SimpleConfig
    Adapter to convert SimpleProperties to a SimpleConfig.
    Since:
    2.0.0
    Author:
    Jon Schneider
    • Constructor Detail

      • SimplePropertiesConfigAdapter

        public SimplePropertiesConfigAdapter(SimpleProperties properties)
    • Method Detail

      • get

        public String get(String k)
        Specified by:
        get in interface io.micrometer.core.instrument.config.MeterRegistryConfig
      • step

        public Duration step()
        Specified by:
        step in interface io.micrometer.core.instrument.simple.SimpleConfig
      • mode

        public io.micrometer.core.instrument.simple.CountingMode mode()
        Specified by:
        mode in interface io.micrometer.core.instrument.simple.SimpleConfig