Merge "Bump containernetworking-plugins binary to 0.7.2-96"
diff --git a/prometheus/server/alert/alerta_relabel.yml b/prometheus/server/alert/alerta_relabel.yml
index df6aca0..1e06b6c 100644
--- a/prometheus/server/alert/alerta_relabel.yml
+++ b/prometheus/server/alert/alerta_relabel.yml
@@ -1,12 +1,7 @@
parameters:
- _param:
- alerta_environment_label: ${_param:cluster_name}
prometheus:
server:
config:
- alert:
- labels_add:
- environment: ${_param:alerta_environment_label}
alert_relabel_configs:
- replacement: "aggregated"
source_labels: "instance"
diff --git a/prometheus/server/container.yml b/prometheus/server/container.yml
index 99873ad..8bda131 100644
--- a/prometheus/server/container.yml
+++ b/prometheus/server/container.yml
@@ -1,3 +1,10 @@
classes:
- service.prometheus.server.container
- system.prometheus.server
+parameters:
+ _param:
+ prometheus_environment_label: ${_param:cluster_domain}
+ prometheus:
+ server:
+ config:
+ environment_label: ${_param:prometheus_environment_label}