From ccc1b2580e5705e32b87091748720a4222c0046e Mon Sep 17 00:00:00 2001 From: Domenic Rosati Date: Wed, 10 Apr 2019 12:46:25 -0300 Subject: [PATCH] add remote write url endpoint for persistance --- manifests/valence/prometheus/config-map.yaml | 2 ++ valence.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/manifests/valence/prometheus/config-map.yaml b/manifests/valence/prometheus/config-map.yaml index f35a82a..402ad5d 100644 --- a/manifests/valence/prometheus/config-map.yaml +++ b/manifests/valence/prometheus/config-map.yaml @@ -10,6 +10,8 @@ data: evaluation_interval: 10s rule_files: - "/etc/prometheus-rules/*.rules" + remote_write: + - url: http://optimization-operator.valence-system:8080/write scrape_configs: - job_name: kube-state-metrics honor_labels: true diff --git a/valence.yaml b/valence.yaml index e205e8c..ac817a1 100644 --- a/valence.yaml +++ b/valence.yaml @@ -848,6 +848,8 @@ data: evaluation_interval: 10s rule_files: - "/etc/prometheus-rules/*.rules" + remote_write: + - url: http://optimization-operator.valence-system:8080/write scrape_configs: - job_name: kube-state-metrics honor_labels: true