Skip to content

Commit

Permalink
#73 fix monitoring and Grafana to v5 with provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed May 28, 2018
1 parent 6906b59 commit b68cebe
Show file tree
Hide file tree
Showing 5 changed files with 21,776 additions and 2 deletions.
7 changes: 5 additions & 2 deletions services/monitoring/docker-compose-14.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ services:
# - node.hostname == moby

grafana:
image: grafana/grafana:4.6.3
image: grafana/grafana:5.1.3
# image: grafana/grafana:4.6.3
container_name: grafanamon
labels:
- "traefik.backend=grafanamon"
Expand All @@ -82,8 +83,10 @@ services:
- prometheus:prometheus
# ports:
# - 3000:3000

volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning:ro
# - grafana_data:/var/lib/grafana
env_file:
- grafana/grafana.conf
networks:
Expand Down
13 changes: 13 additions & 0 deletions services/monitoring/grafana/provisioning/dashboards/all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: 1

# Docker Monitoring: https://github.com/philicious/grafana-dashboards nr 193
# Node Exporter Dashboard Full: https://grafana.com/dashboards/5174
providers:
- name: 'Prometheus'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/provisioning/dashboards

0 comments on commit b68cebe

Please sign in to comment.