Skip to content

Commit

Permalink
add proisioning of dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrenaSebastian committed Oct 28, 2022
1 parent b7ce548 commit 72286dd
Show file tree
Hide file tree
Showing 4 changed files with 2,079 additions and 12 deletions.
13 changes: 1 addition & 12 deletions infrastructure/monitoring/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,6 @@ services:
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
- ./grafana/conf/custom.ini:/etc/grafana/conf/grafana.ini:ro
# env_file:
# - ./grafana/config.monitoring
environment:
#GF_SMTP_ENABLED: "true"
#GF_SMTP_HOST: ${NOTIFICATION_EMAIL_SERVER}
#GF_SMTP_FROM_ADDRESS: ${NOTIFICATION_EMAIL_SERVER_USER}
#GF_RENDERING_SERVER_URL: "http://renderer:8081/render"
#GF_RENDERING_CALLBACK_URL: "http://grafana:3000/"
# Optionally enable auto-login (bypasses Grafana login screen)
GF_AUTH_OAUTH_AUTO_LOGIN: "true"
networks:
default:
restart: unless-stopped
Expand All @@ -127,4 +116,4 @@ services:
- ./blackbox-config.yml:/etc/blackbox_exporter/config.yml
networks:
default:
restart: unless-stopped
restart: unless-stopped
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: 1

providers:
- name: 'Prometheus'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/provisioning/dashboards
Loading

0 comments on commit 72286dd

Please sign in to comment.