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

Este commit está contenido en:
wpetit 2019-03-08 15:20:56 +01:00
padre 628fdafdea
commit 1a2f7172d9
Se han modificado 2 ficheros con 12 adiciones y 0 borrados

Ver fichero

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

11
tmpl/grafana-datasources.yml Archivo normal
Ver fichero

@ -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