add nginx dashboard provisionning

This commit is contained in:
Ludovic Cartier 2023-07-20 10:04:33 +02:00
parent 9b7c8f547f
commit 681b7b2d72

View File

@ -272,3 +272,13 @@
mode: '0750' mode: '0750'
when: prometheus_kong_exporter_targets is defined when: prometheus_kong_exporter_targets is defined
notify: "grafana-prometheus-restart" notify: "grafana-prometheus-restart"
- name: "grafana-prometheus | import grafana nginx dashboard"
copy:
src: dashboards/nginx.json
dest: /opt/docker-compose/grafana-prometheus/dashboards/nginx.json
owner: '1000'
group: '1000'
mode: '0750'
when: prometheus_nginx_exporter_targets is defined
notify: "grafana-prometheus-restart"