ansible-nas/roles/loki/templates/grafana-datasource.yml
2023-07-19 23:44:20 +01:00

12 lines
288 B
YAML

---
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ loki_http_port }}
jsonData:
httpHeaderName1: "X-Scope-OrgID"
secureJsonData:
httpHeaderValue1: "1"