From dca2c152cf5a35bb68f29d55d3d8d373bec643fe Mon Sep 17 00:00:00 2001 From: Frederic Branczyk <fbranczyk@gmail.com> Date: Wed, 14 Dec 2016 18:13:28 -0800 Subject: [PATCH] assets: adapt to recent changes Recently the ConfigMap for the prometheus config was changed, but not in the assets, where it should have happened. --- assets/prometheus/prometheus.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/assets/prometheus/prometheus.yaml b/assets/prometheus/prometheus.yaml index d48d5648..08df4789 100644 --- a/assets/prometheus/prometheus.yaml +++ b/assets/prometheus/prometheus.yaml @@ -1,3 +1,22 @@ +alerting: + alertmanagers: + - kubernetes_sd_configs: + - role: endpoints + relabel_configs: + - action: keep + regex: alertmanager-main + source_labels: + - __meta_kubernetes_service_name + - action: keep + regex: monitoring + source_labels: + - __meta_kubernetes_namespace + - action: keep + regex: web + source_labels: + - __meta_kubernetes_endpoint_port_name + scheme: http + global: scrape_interval: 15s evaluation_interval: 15s -- GitLab