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 %}