Ajout d'un fichier de provisioning des datasources par défaut

This commit is contained in:
wpetit 2019-03-08 15:20:56 +01:00
parent 628fdafdea
commit 1a2f7172d9
2 changed files with 12 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<file filelist='prometheus-alertmanager' name='/etc/prometheus/rules.d/predict-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/grafana.ini' mkdir='True' rm='True'/>
<file filelist='grafana' name='/etc/grafana/provisioning/dashboards/eole.yml' source='grafana-dashboards.yml' mkdir='True' rm='True'/> <file filelist='grafana' name='/etc/grafana/provisioning/dashboards/eole.yml' source='grafana-dashboards.yml' mkdir='True' rm='True'/>
<file filelist='grafana' name='/etc/grafana/provisioning/datasources/eole.yml' source='grafana-datasources.yml' mkdir='True' rm='True'/>
<service>prometheus</service> <service>prometheus</service>
<service>prometheus-alertmanager</service> <service>prometheus-alertmanager</service>

View File

@ -0,0 +1,11 @@
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: direct
orgId: 1
url: http://%%adresse_ip_eth0:9090
isDefault: true
version: 1
editable: false