forked from the-distro/infra
Wire up Grafana to Alertmanager
This commit is contained in:
parent
e8e262c6a4
commit
346a74eabc
|
@ -92,6 +92,7 @@ in
|
||||||
uid = "mimir";
|
uid = "mimir";
|
||||||
access = "proxy";
|
access = "proxy";
|
||||||
url = "http://127.0.0.1:9009/prometheus";
|
url = "http://127.0.0.1:9009/prometheus";
|
||||||
|
isDefault = true;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "Loki";
|
name = "Loki";
|
||||||
|
@ -100,6 +101,17 @@ in
|
||||||
access = "proxy";
|
access = "proxy";
|
||||||
url = "http://127.0.0.1:9090/";
|
url = "http://127.0.0.1:9090/";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Mimir Alertmanager";
|
||||||
|
type = "alertmanager";
|
||||||
|
uid = "mimir-alertmanager";
|
||||||
|
access = "proxy";
|
||||||
|
url = "http://127.0.0.1:9009/";
|
||||||
|
jsonData = {
|
||||||
|
handleGrafanaManagedAlerts = true;
|
||||||
|
implementation = "mimir";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue