Configuring Alerting Contact Points in Grafana
EveryoneMLOps essentials
stand: 2024-06-09
Overview
This guide provides step-by-step instructions for configuring alerting contact points in GRACE using Grafana. You will learn how to create contact points for email or Slack notifications, customize alert messages, link contact points to alert rules, and test your configuration.
1. Open the Alerting Section
- Log in to your Grafana instance.
- In the left-hand menu, navigate to: Dashboard Builder → Alerting → Contact Points.
2. Create a New Contact Point
- Click Create contact point.
- Enter a Name for the contact point (e.g.,
Email AlertsorSlack Notifications).
3. Choose the Notification Type
Grafana supports multiple notification channels. Common options include:
- Slack
- Webhook
- PagerDuty
- Teams
For Email Notifications
- Select Email as the type.
- Enter the recipient email address(es).
- Save the contact point.
For Slack Notifications
- Select Slack as the type.
- Paste your Slack Webhook URL (you can create one in Slack via Incoming Webhooks).
- Optionally, specify a Slack channel.
- Save the contact point.
4. Edit the Notification Message
- After creating the contact point, you can customize the alert message.
- Click Edit on the contact point.
- Modify the message template to include relevant details (e.g., alert name, severity, affected service).
- Save changes.
5. Link Contact Point to an Alert Rule
- Go to Alerting → Alert Rules.
- Create or edit an alert rule.
- In the Notification policies section, select the contact point you created.
- Save the alert rule.
6. Test the Contact Point
- In the contact point settings, use the Test button to send a test notification.
- Verify that the email or Slack message is received.
7. Monitor and Adjust
- Check that alerts are being sent when conditions are met.
- Adjust thresholds, message templates, or contact point settings as needed.
Configuring Alerting Contact Points in Grafana
stand: 2024-06-09
Overview
This guide provides step-by-step instructions for configuring alerting contact points in GRACE using Grafana. You will learn how to create contact points for email or Slack notifications, customize alert messages, link contact points to alert rules, and test your configuration.
1. Open the Alerting Section
- Log in to your Grafana instance.
- In the left-hand menu, navigate to: Dashboard Builder → Alerting → Contact Points.
2. Create a New Contact Point
- Click Create contact point.
- Enter a Name for the contact point (e.g.,
Email AlertsorSlack Notifications).
3. Choose the Notification Type
Grafana supports multiple notification channels. Common options include:
- Slack
- Webhook
- PagerDuty
- Teams
For Email Notifications
- Select Email as the type.
- Enter the recipient email address(es).
- Save the contact point.
For Slack Notifications
- Select Slack as the type.
- Paste your Slack Webhook URL (you can create one in Slack via Incoming Webhooks).
- Optionally, specify a Slack channel.
- Save the contact point.
4. Edit the Notification Message
- After creating the contact point, you can customize the alert message.
- Click Edit on the contact point.
- Modify the message template to include relevant details (e.g., alert name, severity, affected service).
- Save changes.
5. Link Contact Point to an Alert Rule
- Go to Alerting → Alert Rules.
- Create or edit an alert rule.
- In the Notification policies section, select the contact point you created.
- Save the alert rule.
6. Test the Contact Point
- In the contact point settings, use the Test button to send a test notification.
- Verify that the email or Slack message is received.
7. Monitor and Adjust
- Check that alerts are being sent when conditions are met.
- Adjust thresholds, message templates, or contact point settings as needed.