Ajout d'un fichier de provisioning des datasources par défaut
This commit is contained in:
parent
628fdafdea
commit
1a2f7172d9
|
@ -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>
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue