mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-07-04 12:36:18 +00:00
Add grafana
This commit is contained in:
27
grafana/data/provisioning/dashboard.yaml
Normal file
27
grafana/data/provisioning/dashboard.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
# Unique name for the provider
|
||||
- name: 'general'
|
||||
# Organization ID. 1 usually corresponds to the default 'Main Org.'
|
||||
orgId: 1
|
||||
# Optional: Assign dashboards to a specific folder in Grafana UI
|
||||
folder: ''
|
||||
# Provider type: 'file' means loading from filesystem
|
||||
type: file
|
||||
# Optional: Prevents deletion of dashboards from Grafana UI
|
||||
# (they will reappear on restart if deleted)
|
||||
disableDeletion: false
|
||||
# Optional: Allow users to edit dashboards in the Grafana UI.
|
||||
# Changes will be overwritten on restart unless you save them elsewhere.
|
||||
editable: true
|
||||
updateIntervalSeconds: 10
|
||||
allowUiUpdates: true
|
||||
# Options specific to the 'file' type provider
|
||||
options:
|
||||
# Path inside the container where Grafana should look for dashboard JSON files.
|
||||
# This MUST match the target path of your dashboard JSON volume mount below.
|
||||
path: /var/lib/grafana/dashboards
|
||||
# Optional: Set to true to automatically update dashboards based on file changes
|
||||
# without restarting Grafana (requires polling).
|
||||
# updateIntervalSeconds: 10
|
Reference in New Issue
Block a user