From 22b2f0e07a261844518e223ebb7d2e87e77de7aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Desvaux?= Date: Mon, 20 Mar 2023 17:56:56 +0100 Subject: [PATCH] update conf job opensearch --- templates/conf/prometheus.yml.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/conf/prometheus.yml.j2 b/templates/conf/prometheus.yml.j2 index 3de0f83..b008c62 100644 --- a/templates/conf/prometheus.yml.j2 +++ b/templates/conf/prometheus.yml.j2 @@ -370,7 +370,8 @@ scrape_configs: target_label: instance regex: '(.*):8080' replacement: '${1}' - + regex: '(.*):8081' + replacement: '${1}' {% endif %} {% if prometheus_cloudflare_exporter_targets is defined %} # cloudflare # @@ -409,6 +410,9 @@ scrape_configs: - job_name: opensearch scrape_interval: 30s metrics_path: "/_prometheus/metrics" + scheme: https + tls_config: + insecure_skip_verify: true static_configs: - targets: {% for target in prometheus_opensearch_exporter_targets %}