homeserver/docker-compose/loki/datasources.yaml.j2
Michael Grote 25c4e4c90c
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 4s
ansible-lint / Ansible Lint (pull_request) Failing after 48s
ff
2024-09-23 21:52:03 +02:00

31 lines
1.1 KiB
Django/Jinja

# Configuration file version
apiVersion: 1
# Mark provisioned data sources for deletion if they are no longer in a provisioning file.
# It takes no effect if data sources are already listed in the deleteDatasources section.
prune: true
# List of data sources to insert/update depending on what's
# available in the database.
datasources:
# <string, required> Sets the name you use to refer to
# the data source in panels and queries.
- name: Loki
# <string, required> Sets the data source type.
type: loki
# <string, required> Sets the access mode, either
# proxy or direct (Server or Browser in the UI).
# Some data sources are incompatible with any setting
# but proxy (Server).
access: direct
# <int> Sets the organization id. Defaults to orgId 1.
orgId: 1
# <string> Sets the data source's URL, including the
# port.
url: http://loki:3100
# <int> Sets the version. Used to compare versions when
# updating. Ignored when creating a new data source.
version: 1
# <bool> Allows users to edit data sources from the
# Grafana UI.
editable: false