Add postgres and kong dashboards

This commit is contained in:
tom.chivert 2023-04-21 17:07:18 +02:00
parent ba9f48e1f9
commit 9077335c0f
3 changed files with 3964 additions and 0 deletions

2801
files/dashboards/kong.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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"