29 lines
746 B
YAML
29 lines
746 B
YAML
|
apiVersion: 1
|
||
|
|
||
|
datasources:
|
||
|
- name: Mimir Netcup
|
||
|
type: prometheus
|
||
|
basicAuth: true
|
||
|
basicAuthUser: {{ common.mimir.username }}
|
||
|
jsonData:
|
||
|
httpHeaderName1: "X-Scope-OrgID"
|
||
|
secureJsonData:
|
||
|
basicAuthPassword: {{ common.mimir.password }}
|
||
|
httpHeaderValue1: "{{ groups['prometheus']|map('extract', hostvars, 'inventory_hostname')|join('|')|replace('.','-') }}"
|
||
|
url: https://{{ common.mimir.host }}/prometheus
|
||
|
isDefault: false
|
||
|
access: proxy
|
||
|
editable: true
|
||
|
- name: Loki
|
||
|
type: loki
|
||
|
access: proxy
|
||
|
orgId: 1
|
||
|
url: https://{{ common.loki.host }}
|
||
|
basicAuth: true
|
||
|
basicAuthUser: {{ common.loki.username }}
|
||
|
secureJsonData:
|
||
|
basicAuthPassword: {{ common.loki.password }}
|
||
|
isDefault: false
|
||
|
version: 1
|
||
|
editable: true
|