Files
grafana/docs/sources/datasources/alertmanager.md
T
achatterjee-grafana 509ef6e3a6 Doc backport 40737 (unified alerting doc changes) (#41048)
* resolve conflicts

* remove .yarn/sdks

* removed duplicate content

Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2021-10-28 11:10:13 -04:00

36 lines
1.6 KiB
Markdown

+++
title = "Alertmanager"
description = "Guide for using Alertmanager in Grafana"
keywords = ["grafana", "prometheus", "guide"]
aliases = ["/docs/grafana/latest/features/datasources/alertmanager"]
weight = 150
+++
# Alertmanager data source
Grafana includes built-in support for Prometheus Alertmanager. It is presently in alpha and not accessible unless [alpha plugins are enabled in Grafana settings](https://grafana.com/docs/grafana/latest/administration/configuration/#enable_alpha). Once you add it as a data source, you can use the [Grafana alerting UI](https://grafana.com/docs/grafana/latest/alerting/) to manage silences, contact points as well as notification policies. A drop-down option in these pages allows you to switch between Grafana and any configured Alertmanager data sources .
> **Note:** Currently, the [Cortex implementation of Prometheus Alertmanager](https://cortexmetrics.io/docs/proposals/scalable-alertmanager/) is required to edit rules.
## Provision the Alertmanager data source
Configure the Alertmanager data sources by updating Grafana's configuration files. For more information on how it works and the settings available, refer to the [provisioning docs page]({{< relref "../administration/provisioning/#datasources" >}}).
Here is an example for provisioning the Alertmanager data source:
```yaml
apiVersion: 1
datasources:
- name: Alertmanager
type: alertmanager
url: http://localhost:9090
access: proxy
jsonData:
implementation: 'prometheus'
# optionally
basicAuth: true
basicAuthUser: my_user
basicAuthPassword: test_password
```