8000 k3s: k3s' journal on the Cluster board, with Loki's views by andsens · Pull Request #29 · nixos-homelab/shared · GitHub
[go: up one dir, main page]

Skip to content

k3s: k3s' journal on the Cluster board, with Loki's views - #29

Merged
andsens merged 2 commits into
mainfrom
grafana-k3s-journal
Nov 19, 2026
Merged

andsens merged 2 commits into
mainfrom
grafana-k3s-journal

Conversation

@andsens
@andsens andsens commented Nov 19, 2026
Copy link
Copy Markdown
Collaborator

Part of step 6 of the log aggregation plan, next to nixos-homelab/monitoring#39.

Adds two panels to the Cluster board, both from the host journal ({source="journal", unit="k3s.service"}):

  • k3s lines by level over time;
  • the k3s lines themselves, newest first.

Both link into Logs Drilldown. They show while homelab.k3s.grafana.enable and homelab.loki.grafana.enable (from monitoring#39) are on.

checks.logql runs every LogQL query of the dashboards through monitoring's lib.logs.queries and the pinned Loki 3.7.9, with a pushed k3s journal stream.

Merge after monitoring#39. This branch locks homelab-monitoring at #39's commit, and needs a relock to monitoring main once #39 merges.

Checked locally: checks.logql (12 queries), deadnix, manifests, logs, options-docs.

🤖 Generated with Claude Code

andsens and others added 2 commits November 19, 2026 07:27
k3s by level over time and its lines, from the host's journal (unit k3s.service), each linking into
Logs Drilldown; while `homelab.loki.grafana.enable` is on. checks.logql runs the panels' queries
through monitoring's lib.logs.queries. Locks monitoring at nixos-homelab/monitoring#39's branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andsens
andsens enabled auto-merge (squash) November 19, 2026 06:41
@andsens
andsens merged commit a2baa71 into main Nov 19, 2026
3 checks passed
@andsens
andsens deleted the grafana-k3s-journal branch November 19, 2026 06:49
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

0