Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(alertrules): avoid making alert rules readonly in UI when updated #263

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jarmd
Copy link

@jarmd jarmd commented Mar 1, 2024

This will fix, so existent alert rule will not move into "Provisioned" state when updated by a restore.

This has been tested on our staging and production environment, by using the following forked version:
https://github.com/vestas-oss/grafana-backup-tool

1 thing to add is that IF someone has run the restore before this fix, the alarts will keep staying in provisioning mode, and the only way to correct this is to delete all alert rules using the grafana API:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant