add grafana dashboard for elasticsearch and provisionning

This commit is contained in:
jean-yves.fournier
2025-05-19 16:03:14 +02:00
parent 3276795293
commit d292f6dca1
2 changed files with 4761 additions and 0 deletions

View File

@ -292,3 +292,13 @@
mode: '0750'
when: prometheus_nginx_exporter_targets is defined
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"