add grafana dashboard for elasticsearch and provisionning

This commit is contained in:
jean-yves.fournier committed 2025-05-19 16:03:14 +02:00
1 parent 3276795293
commit d292f6dca1
2 files changed
+4761

No files matched your search

File diff suppressed because it is too large. Load diff
+10
View File
@@ -292,3 +292,13 @@
mode: '0750' mode: '0750'
when: prometheus_nginx_exporter_targets is defined when: prometheus_nginx_exporter_targets is defined
notify: "grafana-prometheus-restart" notify: "grafana-prometheus-restart"
- name: "grafana-prometheus | import grafana elasticsearch dashboard"
copy:
src: dashboards/elasticsearch.json
dest: /opt/docker-compose/grafana-prometheus/dashboards/elasticsearch.json
owner: '1000'
group: '1000'
mode: '0750'
when: prometheus_elasticsearch_exporter_targets is defined
notify: "grafana-prometheus-restart"