From 0a3658fa5705d1a8388086a1ed78c6101e5959a9 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 26 Jun 2018 15:05:24 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20chemin=20personnalis=C3=A9=20pour=20les?= =?UTF-8?q?=20job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dicos/70_prometheus.xml | 6 +++++- tmpl/prometheus.yml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dicos/70_prometheus.xml b/dicos/70_prometheus.xml index e5a3352..4a8ecd9 100644 --- a/dicos/70_prometheus.xml +++ b/dicos/70_prometheus.xml @@ -78,6 +78,9 @@ http + + /metrics + non @@ -168,7 +171,8 @@ scrpInterval scrpTimeout honorLabels - scrpScheme + scrpScheme + scrpMetricPath diff --git a/tmpl/prometheus.yml b/tmpl/prometheus.yml index f305d20..b725259 100644 --- a/tmpl/prometheus.yml +++ b/tmpl/prometheus.yml @@ -44,6 +44,7 @@ scrape_configs: scrape_interval: %%{job.scrpInterval}s scrape_timeout: %%{job.scrpTimeout}s scheme: %%job.scrpScheme + metrics_path: %%job.scrpMetricPath %set first = True static_configs: - targets: [ %slurp