Interface SimpleConfig

All Superinterfaces:
MeterRegistryConfig

public interface SimpleConfig
extends MeterRegistryConfig
Configuration for SimpleMeterRegistry.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static SimpleConfig DEFAULT  
  • Method Summary

    Modifier and Type Method Description
    default CountingMode mode()  
    default java.lang.String prefix()  
    default java.time.Duration step()  

    Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig

    get
  • Field Details

  • Method Details

    • prefix

      default java.lang.String prefix()
      Specified by:
      prefix in interface MeterRegistryConfig
    • step

      default java.time.Duration step()
      Returns:
      The step size (reporting frequency) to use.
    • mode

      default CountingMode mode()
      Returns:
      A mode that determines whether the registry reports cumulative values over all time or a rate normalized form representing changes in the last step().