EOX GitLab Instance

prometheus_datasource.yaml.j2 335 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}}
Karl Grube's avatar
Karl Grube committed
6
  editable: true
Karl Grube's avatar
Karl Grube committed
7
8
9
10
11
12
13
  secureJsonData:
    tlsCACert: |
      {{(lookup('file',root_ca_crt))|regex_replace('\n','\n      ',)}}
  jsonData:
    tlsAuth: true
    tlsAuthWithCACert: true
    ServerName: "{{prometheus_server}}"