A central Grafana + Loki stack (on beta) fed by a Grafana Alloy agent on every node, replacing the old SSH-tailed single-host scripts/dashboard.py. - docker-compose.yml: central Loki (mesh-only :3100) + Grafana (Caddy-fronted) - loki/config.yml: single-binary, filesystem storage, 30-day retention - alloy/config.alloy + docker-compose.agent.yml: per-node collector — every container's stdout/stderr via the Docker socket, Caddy host logs, and the app's structured JSON logs (errors/access/audit), each line tagged by node - grafana/: auto-provisioned Loki datasource + a fleet-logs dashboard (volume by service, error rate, upstream 429s, Caddy 5xx, notifier liveness, live tail), with a per-node selector - caddy-grafana.conf, README, .env.example
16 lines
476 B
YAML
16 lines
476 B
YAML
# Load any dashboard JSON dropped in /var/lib/grafana/dashboards (mounted from
|
|
# ./grafana/dashboards) at startup, so the fleet overview is version-controlled
|
|
# in this repo rather than hand-built in the UI.
|
|
apiVersion: 1
|
|
|
|
providers:
|
|
- name: thermograph
|
|
orgId: 1
|
|
folder: Thermograph
|
|
type: file
|
|
disableDeletion: false
|
|
editable: true
|
|
updateIntervalSeconds: 30
|
|
options:
|
|
path: /var/lib/grafana/dashboards
|
|
foldersFromFilesStructure: false
|