Add postgres and kong dashboards
This commit is contained in:
parent
ba9f48e1f9
commit
9077335c0f
2801
files/dashboards/kong.json
Normal file
2801
files/dashboards/kong.json
Normal file
File diff suppressed because it is too large
Load Diff
1143
files/dashboards/postgresql.json
Normal file
1143
files/dashboards/postgresql.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -224,3 +224,23 @@
|
|||||||
mode: '0750'
|
mode: '0750'
|
||||||
when: prometheus_gitlab_exporter_targets is defined
|
when: prometheus_gitlab_exporter_targets is defined
|
||||||
notify: "grafana-prometheus-restart"
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user