EOX GitLab Instance

prometheus_datasource.yaml.j2 437 Bytes
Newer Older
Karl Grube's avatar
Karl Grube committed
1
2
3
4
5
apiVersion: 1
datasources:
- name: {{prometheus_server}}
  type: prometheus
  url: https://{{prometheus_server}}
6
  editable: false
Karl Grube's avatar
Karl Grube committed
7
  secureJsonData:
8
9
10
    tlsCACert: $__file{/etc/ssl/grafana_client/root.ca.crt}
    tlsClientCert: $__file{/etc/ssl/grafana_client/{{fqdn}}.crt}
    tlsClientKey: $__file{/etc/ssl/grafana_client/{{fqdn}}.key}
Karl Grube's avatar
Karl Grube committed
11
12
13
14
  jsonData:
    tlsAuth: true
    tlsAuthWithCACert: true
    ServerName: "{{prometheus_server}}"