Class ExemplarsProperties

Object
ExemplarsProperties

public class ExemplarsProperties extends Object
Properties starting with io.prometheus.exemplars
  • Method Details

    • getMinRetentionPeriodSeconds

      Minimum time how long Exemplars are kept before they may be replaced by new Exemplars.

      Default see ExemplarSamplerConfig.DEFAULT_MIN_RETENTION_PERIOD_SECONDS

    • getMaxRetentionPeriodSeconds

      Maximum time how long Exemplars are kept before they are evicted.

      Default see ExemplarSamplerConfig.DEFAULT_MAX_RETENTION_PERIOD_SECONDS

    • getSampleIntervalMilliseconds

      Time between attempts to sample new Exemplars. This is a performance improvement for high-frequency applications, because with the sample interval we make sure that the exemplar sampler is not called for every single request.

      Default see ExemplarSamplerConfig.DEFAULT_SAMPLE_INTERVAL_MILLISECONDS

    • builder