EOX GitLab Instance

Commit da453ca1 authored by Karl Grube's avatar Karl Grube
Browse files

added all prometheus servers as datasources

parent a2813b45
......@@ -41,5 +41,5 @@
group: grafana
mode: 0640
notify: restart grafana
when: prometheus_server is defined
when: prometheus_servers is defined
tags: provisioning
apiVersion: 1
- name: {{prometheus_server}}
{% for server in prometheus_servers %}
- name: {{server}}
type: prometheus
url: https://{{prometheus_server}}
url: https://{{server}}
editable: false
tlsCACert: $__file{/etc/ssl/grafana_client/root.ca.crt}
......@@ -11,4 +12,5 @@ datasources:
tlsAuth: true
tlsAuthWithCACert: true
ServerName: "{{prometheus_server}}"
ServerName: "{{server}}"
{% endfor %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment