Files
Juraj MichálekandGitHub 519bb7dc6e chore: update mixin deps and add recording_rules_range_interval (#3851)
* chore: update mixin deps and add recording_rules_range_interval

* chore: bump range interval to account for scrape_interval of 1m

* chore: ran make all

* chore: added changelog entry
2024-07-11 15:52:21 +02:00

12 lines
292 B
Jsonnet

local utils = import 'mixin-utils/utils.libsonnet';
{
prometheusRules+:: {
groups+: [{
name: 'tempo_rules',
rules:
utils.histogramRules('tempo_request_duration_seconds', $._config.job_selectors + ['route'], $._config.recording_rules_range_interval),
}],
},
}