From 93d90460a6d462cdcd63d51826a688298bee1061 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sun, 14 Jun 2020 00:10:58 +0200 Subject: [PATCH] Give up unifying job name --- system/monitoring/prometheus.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/system/monitoring/prometheus.nix b/system/monitoring/prometheus.nix index 089e9a01..a0e4c4af 100644 --- a/system/monitoring/prometheus.nix +++ b/system/monitoring/prometheus.nix @@ -18,15 +18,10 @@ static_configs = [{ targets = [ "localhost:9148" ]; labels = { - __myjobname = "collected-exporters"; name = "matrix-synapse"; alert_type = "infrastructure"; }; }]; - relabel_configs = [{ - source_labels = [ "__myjobname" ]; - target_label = "job"; - }]; } { job_name = "collected-exporters";