diff --git a/roles/float-infra-prometheus/templates/rules/rules_base.conf.yml b/roles/float-infra-prometheus/templates/rules/rules_base.conf.yml index c7df0691207120cd1a5a52291b1f94f4feca2dee..bb20fb707ef003f56340eebff4a625e3d5c38302 100644 --- a/roles/float-infra-prometheus/templates/rules/rules_base.conf.yml +++ b/roles/float-infra-prometheus/templates/rules/rules_base.conf.yml @@ -31,6 +31,10 @@ groups: - record: probe:probe_success:ratio expr: probe:probe_success:sum / probe:probe_success:count + # Separate SLI-oriented metric that looks at success across prober hosts. + - record: probe:probe_success:max + expr: max(probe_success) without (job,instance,prober_host,host) + # Special metric for the ping probe. # The 'bool' qualifier makes the greater-than operation not act as a filter. - record: host_reachable