Grafana Integration Guide
Grafana is a data visualization & monitoring application with support for many databases. Integrate AlertOps’ alert management platform with Grafana to receive and respond to critical alerts through email, SMS, push notification, and phone alerts. AlertOps ensures that alerts received from Grafana always reach the correct, available team member by utilizing escalation policies and on-call schedules.
From the main menu, click on Integrations and then select Inbound Integrations from the sub menu.
Select API tab
Select the 'ADD API INTEGRATION' button.
You should now be on the API Integration Detail page. Select Grafana from the pre-built Integration Templates.
Enter a name for the integration. Select an escalation rule to determine the integration's escalation policy. And, enter the names of recipient group(s) and recipient user(s). Click 'SAVE.' Then, click 'COPY URL' to copy the URL endpoint to be used in the Grafana configuration.
Step 1: Select Alerting from the Grafana Main Menu and select Notification Channels
Step 2: In Notification Channels, select Add Channel
Step 3: Select a Name for your Integration or Notification Channel, and select Webhook for the Type
Step 4: Under Webhook Settings Paste the Integration URL that was copied from AlertOps and ensure the Http Method is POST. After this you can SAVE.
***For information on configuring when Grafana should generate an alert, please refer to the Grafana Alert Rules documentation
Alert Triggering Information
AlertOps will automatically create an incident when a new alert is received from Grafana with an IncidentStatus status of “[alerting].”
If an alert with status “[alerting]” matches an existing Open Alert, AlertOps will recognize the new alert as a duplicate and ignore the alert. The alert will be recorded in the Inbound Messages table as “Mapped Appended.”
AlertOps will automatically close the same incident when an alert with an IncidentStatus status “[OK]” is received.
AlertOps will automatically update the same incident when an alert with an IncidentStatus status “[Pending]” is received.
Testing and Troubleshooting
Click here to read about Web API Testing and Troubleshooting.