Add postgres and kong dashboards
This commit is contained in:
@ -224,3 +224,23 @@
|
||||
mode: '0750'
|
||||
when: prometheus_gitlab_exporter_targets is defined
|
||||
notify: "grafana-prometheus-restart"
|
||||
|
||||
- name: "grafana-prometheus | import grafana postgresql dashboard"
|
||||
copy:
|
||||
src: dashboards/postgresql.json
|
||||
dest: /opt/docker-compose/grafana-prometheus/dashboards/postgresql.json
|
||||
owner: '1000'
|
||||
group: '1000'
|
||||
mode: '0750'
|
||||
when: prometheus_postgres_exporter_targets is defined
|
||||
notify: "grafana-prometheus-restart"
|
||||
|
||||
- name: "grafana-prometheus | import grafana kong dashboard"
|
||||
copy:
|
||||
src: dashboards/kong.json
|
||||
dest: /opt/docker-compose/grafana-prometheus/dashboards/kong.json
|
||||
owner: '1000'
|
||||
group: '1000'
|
||||
mode: '0750'
|
||||
when: prometheus_kong_exporter_targets is defined
|
||||
notify: "grafana-prometheus-restart"
|
||||
|
Reference in New Issue
Block a user