Closed squat closed 5 months ago
Opening again until we have a patch release.
By the way, Pyrra already adds the or vector(0)
for the error matches in some rules and alert expressions.
Therefore there shouldn't be a need to do this manually.
https://github.com/pyrra-dev/pyrra/blob/15624d30915a2dba766909fbebaa07b7b4c3bebb/slo/promql.go#L246 https://github.com/pyrra-dev/pyrra/blob/15624d30915a2dba766909fbebaa07b7b4c3bebb/slo/rules.go#L1173
If you're like me and tried mistakenly wrote a weird SLO like
The Kubernetes webhook API handler will panic with: