Package io.prometheus.metrics.config
Class ExemplarsProperties
Object
ExemplarsProperties
Properties starting with io.prometheus.exemplars
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExemplarsProperties.Builder
builder()
Maximum time how long Exemplars are kept before they are evicted.Minimum time how long Exemplars are kept before they may be replaced by new Exemplars.Time between attempts to sample new 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
-