pyrra icon indicating copy to clipboard operation
pyrra copied to clipboard

bool_gauge SLO's budget is burning continouosly

Open mdarii opened this issue 6 months ago • 0 comments

I'm trying to define SLO to monitor the website availability. SLO relays on the prometheus blackbox-exporter metric: probe_success. Here is the SLO definition:

apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  annotations:
    pyrra.dev/description: 'TODO: Define the runbook for this SLO'
    pyrra.dev/summary: Website availability is below 99.999% 
  labels:
    pyrra.dev/team: ops
  name: availability
spec:
  alerting:
    absent: true
    burnrates: true
    disabled: true
  description: Website should have 99.999% availability
  indicator:
    bool_gauge:
      grouping:
      - cluster
      metric: probe_success{instance="https://example.com"}
  target: "99.999"
  window: 1w

After creating of the SLO, the error budget is continuously decreasing, but there's no errors(all blackbox checks were succesfull) image Could be that there's an error in the logic how the error budget is calculated?

mdarii avatar Jul 30 '24 06:07 mdarii