Interface PrometheusConfig

All Superinterfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig

@Deprecated public interface PrometheusConfig extends io.micrometer.core.instrument.config.MeterRegistryConfig
Deprecated.
since 1.13.0, use the class with the same name from io.micrometer:micrometer-registry-prometheus instead: io.micrometer.prometheusmetrics.PrometheusConfig.
Configuration for PrometheusMeterRegistry.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PrometheusConfig
    Deprecated.
    Accept configuration defaults
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Deprecated.
     
    Deprecated.
    Histogram type for backing DistributionSummary and Timer
    default String
    Deprecated.
     
    default Duration
    Deprecated.
     
    default io.micrometer.core.instrument.config.validate.Validated<?>
    Deprecated.
     

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

    get, requireValid
  • Field Details

    • DEFAULT

      static final PrometheusConfig DEFAULT
      Deprecated.
      Accept configuration defaults
  • Method Details

    • prefix

      default String prefix()
      Deprecated.
      Specified by:
      prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfig
    • descriptions

      default boolean descriptions()
      Deprecated.
      Returns:
      true if meter descriptions should be sent to Prometheus. Turn this off to minimize the amount of data sent on each scrape.
    • step

      default Duration step()
      Deprecated.
      Returns:
      The step size to use in computing windowed statistics like max. The default is 1 minute. To get the most out of these statistics, align the step interval to be close to your scrape interval.
    • histogramFlavor

      default HistogramFlavor histogramFlavor()
      Deprecated.
      Histogram type for backing DistributionSummary and Timer
      Returns:
      Choose which type of histogram to use
      Since:
      1.4.0
    • validate

      default io.micrometer.core.instrument.config.validate.Validated<?> validate()
      Deprecated.
      Specified by:
      validate in interface io.micrometer.core.instrument.config.MeterRegistryConfig