Interface SimpleConfig

All Superinterfaces:
MeterRegistryConfig

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

  • Method Details

    • prefix

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

      default 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().
    • validate

      default Validated<?> validate()
      Description copied from interface: MeterRegistryConfig
      Validate configuration.
      Specified by:
      validate in interface MeterRegistryConfig
      Returns:
      validation result