diff --git a/docs/sources/administration/provisioning/index.md b/docs/sources/administration/provisioning/index.md index c6b07ec078c..c243fc68f12 100644 --- a/docs/sources/administration/provisioning/index.md +++ b/docs/sources/administration/provisioning/index.md @@ -215,6 +215,7 @@ Common settings in the [built-in core data sources]({{< relref "../../datasource | prometheusVersion | string | Prometheus | The version of the Prometheus data source, such as `2.37.0`, `2.24.0` | | prometheusType | string | Prometheus | The type of the Prometheus data sources. such as `Prometheus`, `Cortex`, `Thanos`, `Mimir` | | implementation | string | AlertManager | The implementation of the AlertManager data source, such as `prometheus`, `cortex` or `mimir` | +| handleGrafanaManagedAlerts | boolean | AlertManager | When enabled, Grafana-managed alerts are sent to this Alertmanager | For examples of specific data sources' JSON data, refer to that [data source's documentation]({{< relref "../../datasources" >}}). diff --git a/docs/sources/alerting/manage-notifications/alertmanager.md b/docs/sources/alerting/manage-notifications/alertmanager.md index 1bc4e62fca3..336ed301c3e 100644 --- a/docs/sources/alerting/manage-notifications/alertmanager.md +++ b/docs/sources/alerting/manage-notifications/alertmanager.md @@ -37,6 +37,8 @@ Here are two examples of when you may want to configure your own external alertm Alertmanagers are visible from the drop-down menu on the Alerting Contact Points, Notification Policies, and Silences pages. +If you are provisioning your data source, set the flag `handleGrafanaManagedAlerts` in the `jsonData` field to `true` to send Grafana-managed alerts to this Alertmanager. + **Useful links** [Prometheus Alertmanager documentation](https://prometheus.io/docs/alerting/latest/alertmanager/) diff --git a/docs/sources/alerting/set-up/configure-alertmanager/index.md b/docs/sources/alerting/set-up/configure-alertmanager/index.md index 166fd3013d9..f0eceb9ae56 100644 --- a/docs/sources/alerting/set-up/configure-alertmanager/index.md +++ b/docs/sources/alerting/set-up/configure-alertmanager/index.md @@ -29,6 +29,8 @@ To add an external Alertmanager, complete the following steps. 2. Search for Alertmanager. 3. Choose your Implementation and fill out the fields on the page, as required. +If you are provisioning your data source, set the flag `handleGrafanaManagedAlerts` in the `jsonData` field to `true` to send Grafana-managed alerts to this Alertmanager. + **Note:** Prometheus, Grafana Mimir, and Cortex implementations of Alertmanager are supported. For Prometheus, contact points and notification policies are read-only in the Grafana Alerting UI.