Ajout d'un répertoire de définition des dashboards
This commit is contained in:
parent
b4fde311a5
commit
628fdafdea
|
@ -7,6 +7,7 @@
|
|||
<file filelist='prometheus-alertmanager' name='/etc/prometheus/rules.d/alert-rules.yml' mkdir='True' rm='True'/>
|
||||
<file filelist='prometheus-alertmanager' name='/etc/prometheus/rules.d/predict-rules.yml' mkdir='True' rm='True'/>
|
||||
<file filelist='grafana' name='/etc/grafana/grafana.ini' mkdir='True' rm='True'/>
|
||||
<file filelist='grafana' name='/etc/grafana/provisioning/dashboards/eole.yml' source='grafana-dashboards.yml' mkdir='True' rm='True'/>
|
||||
|
||||
<service>prometheus</service>
|
||||
<service>prometheus-alertmanager</service>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# # config file version
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'eole'
|
||||
orgId: 1
|
||||
folder: ''
|
||||
type: file
|
||||
options:
|
||||
path: /var/lib/grafana/dashboards
|
|
@ -21,7 +21,7 @@
|
|||
;plugins = /var/lib/grafana/plugins
|
||||
|
||||
# folder that contains provisioning config files that grafana will apply on startup and while running.
|
||||
; provisioning = conf/provisioning
|
||||
provisioning = conf/provisioning
|
||||
|
||||
#################################### Server ####################################
|
||||
[server]
|
||||
|
|
Loading…
Reference in New Issue