Skip to content

feat(orchestrator): add optional promtail log shipper#1044

Merged
binarybaron merged 3 commits into
masterfrom
feat/orchestrator-promtail-logs
May 21, 2026
Merged

feat(orchestrator): add optional promtail log shipper#1044
binarybaron merged 3 commits into
masterfrom
feat/orchestrator-promtail-logs

Conversation

@binarybaron
Copy link
Copy Markdown

@binarybaron binarybaron commented May 21, 2026

Opt-in promtail container that tails /asb-data/logs/*.log and pushes them to a Loki endpoint. Enabled when PROMTAIL_LOKI_PUSH_URL, PROMTAIL_LOKI_PUSH_TOKEN, and PROMTAIL_INSTANCE are all set when running the orchestrator; otherwise behaviour is unchanged. Bearer token lives only in the generated promtail.yml, not docker-compose.yml.

binarybaron added 3 commits May 21, 2026 14:14
Opt-in via PROMTAIL_LOKI_PUSH_URL, PROMTAIL_LOKI_PUSH_TOKEN, and
PROMTAIL_INSTANCE. When all three are set, the orchestrator writes
promtail.yml next to docker-compose.yml and adds a pinned
grafana/promtail service that tails /asb-data/logs/*.log read-only and
pushes them to the configured Loki endpoint with job/host/component
labels. The bearer token is only written to promtail.yml, never to
docker-compose.yml.
@binarybaron binarybaron merged commit ca0a4a8 into master May 21, 2026
69 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant