update dash opensearch

This commit is contained in:
Clément Desvaux
2023-03-20 16:52:30 +01:00
parent a456647a6f
commit 063c138c9a
2 changed files with 64 additions and 78 deletions

View File

@ -414,6 +414,9 @@ scrape_configs:
{% for target in prometheus_opensearch_exporter_targets %}
- {{ target }}:9200
{% endfor %}
basic_auth:
username: {{ opensearch_user }}
password: {{ opensearch_pass }}
relabel_configs:
- source_labels: [ __address__ ]
target_label: instance