I have added a Prometheus-Alertmanager datasource. And I can see my alertmanager in Alerting in the Grafana.
Then I created an alert with following steps:
In the Grafana menu, click the Alerting (bell) icon to open the Alerting page listing existing alerts.
Click New alert rule. The new alerting rule page opens where the Grafana managed alerts option is selected by default.
…
After the alert was created and firing, it is sent to the alertmanager of Grafana.
I want my external alertmanager to receive this alert. What should I do?
Hi! To send alerts to an external Alertmanager go to the Alerting page, then click on the Admin tab. At the end of the page there is Send alerts to where its possible to change between Internal Alertmanager, External Alertmanager, or both.
By searching in the grafana code, I found this PR where it has been merged
state.unifiedAlerting.externalAlertmanagers.alertmanagerConfig.result?.alertmanagersChoice
It seems there is a alertmanagersChoice config that can be “external” but I don’t know how to make it work/where it should be located.
@elio any update you have? I am also looking for a config option where I can set “alertmanagersChoice” during provisioning. @georgerobinson maybe you know it?