Add handleGrafanaManagedAlerts jsonData (#61874)

* Add handleGrafanaManagedAlerts jsonData

* Update following feedback
This commit is contained in:
Armand Grillet
2023-01-26 10:48:51 +01:00
committed by GitHub
parent b9a1d8e5f9
commit 95f052bbd1
3 changed files with 5 additions and 0 deletions
@@ -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" >}}).
@@ -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/)
@@ -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.