Skip to content
Snippets Groups Projects
Commit e62d09fb authored by Jan David Mol's avatar Jan David Mol
Browse files

Provision django dashboard

parent 4e78ec30
No related branches found
No related tags found
No related merge requests found
FROM grafana/grafana:latest FROM grafana/grafana:latest
COPY dashboards/* /var/lib/grafana/dashboards COPY dashboards/ /var/lib/grafana/dashboards
COPY provisioning/dashboards/* /etc/grafana/provisioning/dashboards/ COPY provisioning/dashboards/* /etc/grafana/provisioning/dashboards/
COPY provisioning/datasources/* /etc/grafana/provisioning/datasources/ COPY provisioning/datasources/* /etc/grafana/provisioning/datasources/
This diff is collapsed.
apiVersion: 1
providers:
# <string> an unique provider name. Required
- name: 'Django'
# <int> Org id. Default to 1
orgId: 1
# <string> name of the dashboard folder.
folder: ''
# <string> folder UID. will be automatically generated if not specified
folderUid: ''
# <string> provider type. Default to 'file'
type: file
# <bool> disable dashboard deletion
disableDeletion: True
# <int> how often Grafana will scan for changed dashboards
updateIntervalSeconds: 10
# <bool> allow updating provisioned dashboards from the UI
allowUiUpdates: false
options:
# <string, required> path to dashboard files on disk. Required when using the 'file' type
path: /var/lib/grafana/dashboards/django/
# <bool> use folder names from filesystem to create folders in Grafana
foldersFromFilesStructure: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment