git-subtree-dir: observability git-subtree-mainline:ae1d9bb534git-subtree-split:19e74af9ca
13 lines
406 B
YAML
13 lines
406 B
YAML
# Auto-provision the Loki datasource so Grafana comes up already wired to it —
|
|
# no click-ops. Loki runs in the same compose stack, reachable by service name.
|
|
apiVersion: 1
|
|
|
|
datasources:
|
|
- name: Loki
|
|
type: loki
|
|
access: proxy
|
|
url: http://loki:3100
|
|
uid: loki # stable UID so the provisioned dashboards can bind to it
|
|
isDefault: true
|
|
jsonData:
|
|
maxLines: 2000
|