If a page is removed in a future version, the presence of a "latest" absolute alias in a previous version can redirect that removed page. **Notes for reviewer:** I would like to make similar changes for older, previously published versions. I believe you are only publishing documentation on specific tag events and are not maintaining long lived release branches for backporting fixes into. If my understanding is correct, I will make the changes in the website repository (https://github.com/grafana/website/tree/master/content/docs/oncall). Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2.8 KiB
| aliases | canonical | keywords | title | weight | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
https://grafana.com/docs/oncall/latest/integrations/available-integrations/configure-alertmanager/ |
|
Alertmanager | 300 |
Alertmanager integration for Grafana OnCall
The Alertmanager integration for Grafana OnCall handles alerts sent by client applications such as the Prometheus server.
Grafana OnCall provides grouping abilities when processing alerts from Alertmanager, including initial deduplicating, grouping, and routing the alerts to Grafana OnCall.
Configure Alertmanager integration for Grafana OnCall
You must have an Admin role to create integrations in Grafana OnCall.
- In the Integrations tab, click + New integration to receive alerts.
- Select Alertmanager from the list of available integrations.
- Follow the instructions in the How to connect window to get your unique integration URL and identify next steps.
Configure Alertmanager
Update the receivers section of your Alertmanager configuration to use a unique integration URL:
route:
receiver: "oncall"
group_by: [alertname, datacenter, app]
receivers:
- name: "oncall"
webhook_configs:
- url: <integation-url>
send_resolved: true
Configure grouping with Alertmanager and Grafana OnCall
You can use the alert grouping mechanics of Alertmanager and Grafana OnCall to configure your alert grouping preferences.
Alertmanager offers three alert grouping options:
-
group_byprovides two options,instanceorjob. -
group_waitsets the length of time to initially wait before sending a notification for a particular group of alerts. For example,group_waitcan be set to 45s.Setting a high value for
group_waitreduces alert noise and minimizes interruption, but it may introduce delays in receiving alert notifications. To set an appropriate wait time, consider whether the group of alerts will be the same as those previously sent. -
group_intervalsets the length of time to wait before sending notifications about new alerts that have been added to a group of alerts that have been previously alerted on. This setting is usually set to five minutes or more.During high alert volume periods, Alertmanager will send alerts at each
group_interval, which can mean a lot of distraction. Grafana OnCall grouping will help manage this in the following ways:- Grafana OnCall groups alerts based on the first label of each alert.
- Grafana OnCall marks an alert group as resolved only when there are fewer than 500 grouped
alerts, and every
firingalert with the same labels has a correspondingresolvedalert.