Skip to content

Feat/n8n stdout log#12

Open
josephMG wants to merge 3 commits into
TigerAI-Taiwan:mainfrom
josephMG:feat/n8n-stdout-log
Open

Feat/n8n stdout log#12
josephMG wants to merge 3 commits into
TigerAI-Taiwan:mainfrom
josephMG:feat/n8n-stdout-log

Conversation

@josephMG

Copy link
Copy Markdown
Contributor

No description provided.

josephMG added 3 commits July 13, 2026 18:40
- Enable n8n Prometheus metrics (N8N_METRICS, queue metrics) on main + worker,
  scrape via new prometheus n8n job, visualize with Grafana dashboard 24474.
- Add Grafana Alloy service to ship all container stdout/stderr to Loki.
- Re-source nvidia/arm64 DCGM exporter to nvcr.io (multi-arch, avoids Docker
  Hub rate limits); amd continues using the ROCm exporter.

Applied identically across nvidia/amd/arm64-compose-stack.
Add a Loki "n8n stdout logs" panel under a new Logs row at the bottom of
n8n.json (all three stacks), so n8n logs are visible next to its metrics
without needing Explore. Existing metric panels are unchanged.
Set N8N_LOG_FORMAT=json on n8n-main/n8n-worker so stdout is one JSON
object per line, and add a loki.process "n8n_json" stage (scoped to
compose_service=~"n8n-.*") that extracts level/timestamp and promotes
only the low-cardinality level label before forwarding to Loki write.
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