Grafana
Grafana has no GGspeak contact point, but its Discord one works: GGspeak reads the Discord body as it is.
-
In GGspeak, create a webhook under Integrations and copy the link.
-
In Grafana, go to Alerting, Contact points and create a new contact point.
-
Under Integration, choose Discord.
-
In Webhook URL, paste the GGspeak link. It can stay as it is (the body is detected) or end in
/discord, which forces the format:https://ggspeak.app/hooks/{id}/{token}/discord -
Use Grafana’s test button, save, and attach the contact point to a notification policy.
What arrives
Section titled “What arrives”Grafana sends the alert as a Discord embed, and the 1st embed becomes the card:
- The embed title (
[FIRING:1] HighCPU (sp-1 api)) becomes the card title. - The embed color sets the state. The red of a firing alert becomes
alert, and the green of a resolution becomesok. - The description (values, labels and annotations) becomes the body, cut at 1,000 characters.
- The embed
urlbecomes the card’s link. - The name Grafana sends in
usernamebecomes the author of that message.
The full example body is in Formats: Discord.