Is there an available gdg cli command to back up Grafana alert rules and contact points? #312
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Not yet, that's in progress. I have a pending PR that adds contact points. #302 WIP. There's also #134 ticket that captures all the entities. My only concern with adding this in is that there's a lot of tightly related entities so the user would have to do the restore in order, or potentially have an uber command that restores all alerting entities. As always PRs are appreciated and accepted if you feel inspired. |
Beta Was this translation helpful? Give feedback.
-
|
I also dropped support for AlertNotification the legacy version in 0.6.0. You might get some benefit from trying version 0.5.2 if you like but as Grafana has moved on and it was VERY deprecated when 0.5.2 came out it may not be particularly useful. |
Beta Was this translation helpful? Give feedback.
-
|
@assiakhateeb I'm converting this to a conversation since it's nothing new tickets/issue wise. Feel free to close it or chime in as you like. |
Beta Was this translation helpful? Give feedback.
-
|
I'll call this out as a beta feature but contact points is available. The format may change before it's finalized since the entire API isn't yet available yet. The grafana client has an open PR that needs to be fixed and likely the structure will vary based on all the Alerting components and how they're dependent on one another. Docs: https://software.es.net/gdg/docs/usage_guide/backup-guide/ |
Beta Was this translation helpful? Give feedback.
I'll call this out as a beta feature but contact points is available. The format may change before it's finalized since the entire API isn't yet available yet. The grafana client has an open PR that needs to be fixed and likely the structure will vary based on all the Alerting components and how they're dependent on one another.
Docs: https://software.es.net/gdg/docs/usage_guide/backup-guide/