Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Django-prometheus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan David Mol
Django-prometheus
Commits
e62d09fb
Commit
e62d09fb
authored
Oct 11, 2023
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Provision django dashboard
parent
4e78ec30
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
grafana/Dockerfile
+1
-1
1 addition, 1 deletion
grafana/Dockerfile
grafana/dashboards/django/django.json
+1019
-0
1019 additions, 0 deletions
grafana/dashboards/django/django.json
grafana/provisioning/dashboards/django.yaml
+24
-0
24 additions, 0 deletions
grafana/provisioning/dashboards/django.yaml
with
1044 additions
and
1 deletion
grafana/Dockerfile
+
1
−
1
View file @
e62d09fb
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.
Click to expand it.
grafana/dashboards/django/django.json
0 → 100644
+
1019
−
0
View file @
e62d09fb
This diff is collapsed.
Click to expand it.
grafana/provisioning/dashboards/django.yaml
0 → 100644
+
24
−
0
View file @
e62d09fb
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment