Skip to content

Commit

Permalink
Update dashboard to match ndc-postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey committed Nov 15, 2023
1 parent bf55903 commit c12eef1
Show file tree
Hide file tree
Showing 7 changed files with 848 additions and 84 deletions.
9 changes: 8 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,13 @@ services:
target: /etc/grafana/provisioning/datasources
read_only: true
- type: bind
source: ./metrics/grafana-data
source: ./metrics/grafana/dashboard.yaml
target: /etc/grafana/provisioning/dashboards/main.yaml
- type: bind
source: ./metrics/grafana/dashboards
target: /var/lib/grafana/dashboards
- type: volume
source: grafana_data
target: /var/lib/grafana

auth-hook:
Expand Down Expand Up @@ -93,3 +99,4 @@ services:

volumes:
prom_data:
grafana_data:
53 changes: 0 additions & 53 deletions metrics/grafana-data/alerting/1/__default__.tmpl

This file was deleted.

Binary file removed metrics/grafana-data/grafana.db
Binary file not shown.
12 changes: 12 additions & 0 deletions metrics/grafana/dashboard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: 1

providers:
- name: "Dashboard provider"
orgId: 1
type: file
disableDeletion: false
updateIntervalSeconds: 10
allowUiUpdates: true
options:
path: /var/lib/grafana/dashboards
foldersFromFilesStructure: true
Loading

0 comments on commit c12eef1

Please sign in to comment.