Auto-delete orphaned Grafana alert rules on deploy #103
Labels
No labels
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/infrastructure#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Grafana file provisioning never deletes alert rules dropped from config, so removed rules keep evaluating from the DB and firing (see this issue's old title)
Add a post-
grafana.serviceoneshot that reconciles via the Provisioning API withX-Disable-Provenance, deleting any provisioned rule whose uid isn't in the currentscottylabs.observabilitysetThis would probably need a provisioned Grafana service-account token
Remove dead comin alert from observabilityto Auto-delete orphaned Grafana alert rules on deploy