Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/module-eval
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia ac2999252b grafana: the identity-mint alert selects the controller's pod records
On k8s/v1 the swarm-controller runs as a pod. Its logs reach the store
through the pod-log receiver with `service.name` "controller" and no
`_SYSTEMD_UNIT`, so `hh-agent-identity-mint-failed`, which selected the unit
and grouped by the host journal's `F_AGENT`, could never match: a failed
agent identity mint fired nothing.

Select `service.name`, and read the agent out of the stdout line with
`extract "agent=<agent> step="`: the controller logs `agent=<name>
step=<step> error=<text>` as tracing's text format after the message, and
the pod-log receiver keeps the whole line as `_msg`. The summary names the
`agent` label and the `error=` text. The review classifier doc's example
query changes the same way.

A controller test renders the failure through the stdout format and pins
that order. A module-eval case pins the rule's selector, the extract and
the grouping, and that no rule selects the controller's unit any more.
2026-11-30 22:20:34 +01:00
..
agent-android-dev.nix android-dev archetype: ship the Android SDK and nix-ld so a Gradle build runs 2026-11-20 19:35:47 +01:00
agent-forge-bao.nix agent ssh connections: declare per agent, render into the agent's ssh config 2026-11-20 03:10:41 +01:00
agent-github-bao.nix agents keep their github token in /run, fetched on every start, not in the state dir 2026-11-15 14:08:57 +01:00
agent-icon.nix swarm: set an agent's config repo avatar from its icon 2026-11-23 10:11:16 +01:00
agent-matrix.nix
agent-memory.nix bash tasks are the OOM killer's first victims: score 1000, subagent runs 900, MemoryHigh on the bash daemon 2026-11-19 08:03:07 +01:00
agent-otel.nix otel: collectors drop their own export-failure lines instead of shipping them 2026-11-15 01:20:18 +01:00
agent-plugins.nix
agent-queue-bao.nix nix: the bash daemon gets the agent's store identity so it can publish its tasks 2026-11-21 13:31:28 +01:00
agent-rea.nix
agent-runtime.nix swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back 2026-11-20 20:36:33 +01:00
agent-ssh-target.nix add an ssh ca to bao, agent ssh certificates and a target module 2026-11-16 20:31:18 +01:00
agent-user.nix
bao-basics.nix
bao-controller.nix full-setup and the host swarmctl reach the controller as a pod, not through a host socket 2026-11-30 22:19:18 +01:00
bao-grants.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
bao-matrix-reader.nix
bao-otel-collector.nix swarm-otel: stamp sender from the authenticated client id, not a hive 2026-11-23 00:48:56 +01:00
boot-wait.nix
builder.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
ci-metrics.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
core-toggle.nix keep the container's secret key through the pod's first start 2026-11-30 22:20:34 +01:00
forge-placement.nix ci-runner: warn when the host has no nix store gc 2026-11-11 20:34:11 +01:00
grafana.nix grafana: the identity-mint alert selects the controller's pod records 2026-11-30 22:20:34 +01:00
hive-otel.nix otel: collectors drop their own export-failure lines instead of shipping them 2026-11-15 01:20:18 +01:00
hive-tls.nix
journald-severity.nix
k8s.nix keep the container's secret key through the pod's first start 2026-11-30 22:20:34 +01:00
lib.nix
matrix-core.nix
name-guards.nix
nats-authelia.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
nats-tls.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
secret-publisher.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
semi-spread.nix swarm-stt: the deploy module (deploy.stt.*, sandboxed container, store leaf, queue grants) and its docs 2026-11-12 12:18:32 +01:00
shared.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-otel-core.nix swarm-otel, swarm-grafana: a delivery unit fails on no value yet 2026-11-23 12:43:37 +01:00
swarm-otel-identity.nix run the metrics store and its auth responders as pods 2026-11-30 22:20:15 +01:00
swarm-services-switch.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00