diff --git a/services/monitoring/lgtm/grafana.nix b/services/monitoring/lgtm/grafana.nix index 8fd2583..e567f65 100644 --- a/services/monitoring/lgtm/grafana.nix +++ b/services/monitoring/lgtm/grafana.nix @@ -92,6 +92,7 @@ in uid = "mimir"; access = "proxy"; url = "http://127.0.0.1:9009/prometheus"; + isDefault = true; } { name = "Loki"; @@ -100,6 +101,17 @@ in access = "proxy"; 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"; + }; + } ]; }; };