Skip to content

Commit

Permalink
chore: add mongo-streamer dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ucpr committed Dec 17, 2023
1 parent f453727 commit 96ed282
Show file tree
Hide file tree
Showing 3 changed files with 458 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ services:
- "9090:9090"
volumes:
- ./monitors/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yaml
- prometheus_data:/prometheus
command: "--config.file=/etc/prometheus/prometheus.yaml"
restart: always

Expand All @@ -98,6 +99,7 @@ services:
- ./monitors/grafana/dashboards:/var/lib/grafana/dashboards
- ./monitors/grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
- ./monitors/grafana/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
- grafana_data:/var/lib/grafana
ports:
- "3000:3000"
restart: always
Expand All @@ -106,3 +108,5 @@ volumes:
primary_data:
secondary_data:
arbiter_data:
prometheus_data:
grafana_data:
10 changes: 10 additions & 0 deletions monitors/grafana/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ providers:
options:
path: /var/lib/grafana/dashboards/go_metrics.json
foldersFromFilesStructure: false
- name: 'mongo-streamer'
orgId: 1
folder: 'Default'
type: file
disableDeletion: false
updateIntervalSeconds: 10
allowUiUpdates: false
options:
path: /var/lib/grafana/dashboards/mongo_streamer.json
foldersFromFilesStructure: false
Loading

0 comments on commit 96ed282

Please sign in to comment.