-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add Link to Alertmanager #99
Comments
Indeed, it would be cool! However, I may not have time to implement this feature. Please, feel free to open a PR :) |
Weve realized this directly in grafana with overrides -> data links and data fields variables. |
Wow, I've tried this before, but I didn't figure out how to use the data variable in data links to silence or delete different alerts. Can you be more specific, please? |
This is how we do it Table Options -> Override Fields with Name -> Data Links https://alertmanager.xxx.net/#/silences/new?filter={alertname%3D"${__data.fields.alertname}"%2C severity%3D"${__data.fields.severity}"%2C hostname%3D"${__data.fields.hostname}"} |
Thanks, this works. It jumps to the alertmanager silencing page of this alert. And also I'm trying to create such a silencing rule with just one click. Which may use the alertmanager api v2? |
It would be very helpful to have a link to Alertmanager to silence an alert directly from the dashboard.
You have to add all labels to the link, and need a way to configure the public url of alertmanager, e.g.
https://alertmanager.mydomain.org/#/silences/new?filter=%7Balertname%3D%22SomeAlert%22%2C%20instance%3D%22myserver%22
For silenced alerts, a link to expire a silence would be helpful.
The text was updated successfully, but these errors were encountered: