update conf job opensearch
This commit is contained in:
parent
063c138c9a
commit
22b2f0e07a
@ -370,7 +370,8 @@ scrape_configs:
|
|||||||
target_label: instance
|
target_label: instance
|
||||||
regex: '(.*):8080'
|
regex: '(.*):8080'
|
||||||
replacement: '${1}'
|
replacement: '${1}'
|
||||||
|
regex: '(.*):8081'
|
||||||
|
replacement: '${1}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if prometheus_cloudflare_exporter_targets is defined %}
|
{% if prometheus_cloudflare_exporter_targets is defined %}
|
||||||
# cloudflare #
|
# cloudflare #
|
||||||
@ -409,6 +410,9 @@ scrape_configs:
|
|||||||
- job_name: opensearch
|
- job_name: opensearch
|
||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
metrics_path: "/_prometheus/metrics"
|
metrics_path: "/_prometheus/metrics"
|
||||||
|
scheme: https
|
||||||
|
tls_config:
|
||||||
|
insecure_skip_verify: true
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
{% for target in prometheus_opensearch_exporter_targets %}
|
{% for target in prometheus_opensearch_exporter_targets %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user