Create service level availability rules in mimir
This issue needs to create equivalent Service Level Availability rules used for our general SLA dashboard. These rules are defined in for thanos in thanos-rules-jsonnet/sla-rules.jsonnet
.
They are evaluated across services, and this can probably remain that way. We do need to generate this in separate tenants for mimir.
These rules also depend on the hand crafted SLO observance rules discussed in #2775 (closed). The service SLO observance rule name in Thanos is slo_observation_status
, however the name without colon is illegal in Mimir. So we'll have to use the eventual rule name in #2783 (closed).
The SLA dashboard also queries slo_observation_status
for the availability for each service, maybe we can have a slo_obervation_status or slo:observation_status
query in the dashboard to cater both cases from Thanos and Mimir regardless of data source used.