Создание екмпортера в графане при старте контейнера
This commit is contained in:
parent
7bac1b5a91
commit
4938dc07e4
3 changed files with 17 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: 1
|
||||
providers:
|
||||
- name: 'apache-dashboard'
|
||||
type: file
|
||||
disableDeletion: false
|
||||
updateIntervalSeconds: 10
|
||||
allowUiUpdates: true
|
||||
options:
|
||||
path: /var/lib/grafana/dashboard
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
apiVersion: 1
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://10.10.1.3:9090
|
||||
isDefault: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue