auto
This commit is contained in:
@@ -26,6 +26,8 @@ services:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- grafana-data:/var/lib/grafana
|
||||
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
|
||||
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=admin
|
||||
|
||||
13
grafana/provisioning/dashboards/dashboard.yml
Normal file
13
grafana/provisioning/dashboards/dashboard.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'default'
|
||||
orgId: 1
|
||||
folder: 'Telegraf'
|
||||
type: file
|
||||
disableDeletion: false
|
||||
editable: true
|
||||
updateIntervalSeconds: 10
|
||||
options:
|
||||
path: /etc/grafana/provisioning/dashboards
|
||||
foldersFromFilesStructure: true
|
||||
4796
grafana/provisioning/dashboards/system-metrics.json
Normal file
4796
grafana/provisioning/dashboards/system-metrics.json
Normal file
File diff suppressed because it is too large
Load Diff
14
grafana/provisioning/datasources/influxdb.yml
Normal file
14
grafana/provisioning/datasources/influxdb.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: InfluxDB
|
||||
type: influxdb
|
||||
access: proxy
|
||||
url: http://influxdb:8086
|
||||
isDefault: true
|
||||
jsonData:
|
||||
version: Flux
|
||||
organization: my-org
|
||||
defaultBucket: telegraf-bucket
|
||||
secureJsonData:
|
||||
token: my-secret-token
|
||||
Reference in New Issue
Block a user