Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/host-modules
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
..
hive-c0re
hive-forge
hive-gateway
k8s run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
lib let the init container's temp file take its umask 2026-11-30 22:20:34 +01:00
swarm-grafana/dashboards grafana: draw the forge change-size panels as bars that follow the time range 2026-11-27 17:03:29 +01:00
bao-bootstrap-policy.hcl k8s: pods log in to the secret store with their ServiceAccount token 2026-11-30 22:15:09 +01:00
default.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
deploy.nix run the metrics store and its auth responders as pods 2026-11-30 22:20:15 +01:00
glue-attic-otel-oidc-client.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
glue-bao-readers-policy-order.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
glue-bao-readers-store-order.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
glue-bao-tls.nix the log and metrics stores ask every request for a credential the gateway supplies 2026-11-30 22:20:28 +01:00
glue-bao-ui-oidc-client.nix
glue-builder-oidc-client.nix
glue-ci-metrics-otel-oidc-client.nix
glue-ci-runner-otel-oidc-client.nix
glue-claude-login-oidc-client.nix
glue-controller-bao-identity.nix
glue-controller-env.nix
glue-controller-oidc-client.nix
glue-forge-controller.nix swarm-controller: move the forge concern into its own module 2026-11-27 16:45:16 +01:00
glue-forge-oidc-client.nix
glue-forge-otel-oidc-client.nix
glue-grafana-oidc-client.nix
glue-hive-otel-authelia.nix
glue-hive-tls-bao-identity.nix
glue-hive-tls-controllers.nix
glue-logs-auth-bao-identity.nix
glue-matrix-ctl-bao-identity.nix
glue-matrix-hive-discovery.nix
glue-matrix-oidc-client.nix
glue-matrix-otel-oidc-client.nix
glue-metrics-auth-bao-identity.nix
glue-nats-auth-bao-identity.nix
glue-nats-bao-identity.nix
glue-nats-oidc-client.nix
glue-notify-router-oidc-client.nix
glue-review-classifier-oidc-client.nix
glue-secret-publisher-authelia.nix
glue-secret-publisher-bao-identity.nix
glue-stt-oidc-client.nix
glue-swarm-bao-otel-oidc-client.nix
glue-swarm-otel-oidc-client.nix
hive-archive-backup.nix swarm-controller: move the secrets concern into its own module 2026-11-27 17:35:19 +01:00
hive-egress.nix egress: the forward chain accepts the flows the host publishes for the agents 2026-11-30 22:17:17 +01:00
hive-matrix-service.nix
hive-matrix.nix hive-matrix: tuwunel's database open logs RocksDB's own messages 2026-11-28 17:08:09 +01:00
hive-network.nix
hive-options-removed.nix
hive-priv-cache.nix
hive-priv.nix
hive-squid-credential.nix swarm-otel, swarm-grafana: a delivery unit fails on no value yet 2026-11-23 12:43:37 +01:00
hive-squid.nix
hive-tls.nix
host-ca-removed.nix
hyperhive.nix
local-defaults.nix
nats-callout-removed.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
otel.nix k8s: pod logs and metrics reach the hive collector 2026-11-30 22:15:09 +01:00
swarm-archive.nix swarm-controller: move the secrets concern into its own module 2026-11-27 17:35:19 +01:00
swarm-attic-options.nix
swarm-attic.nix
swarm-authelia-service.nix
swarm-authelia.nix
swarm-bao-agent-pki.nix the log and metrics stores ask every request for a credential the gateway supplies 2026-11-30 22:20:28 +01:00
swarm-bao-operator-viewer.nix swarm-bao: move the operator viewer login and the shared bindings out 2026-11-23 21:54:32 +01:00
swarm-bao-readers.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-bao-service.nix
swarm-bao.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-builder.nix
swarm-ci-metrics.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-ci-runner.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-claude-login.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-controller.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-grafana-service.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-grafana.nix grafana: the identity-mint alert selects the controller's pod records 2026-11-30 22:20:34 +01:00
swarm-nats-service.nix
swarm-nats.nix bind health listeners to the pod's loopback and probe them by exec 2026-11-30 22:20:28 +01:00
swarm-notify-router.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-otel-service.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-otel.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-required-services.nix
swarm-review-classifier.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-secret-publisher.nix run grafana as a pod in the cluster 2026-11-30 22:20:34 +01:00
swarm-stt.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-ui.nix require k8s: swarm services with a pod run in the cluster only 2026-11-30 22:19:18 +01:00
swarm-victorialogs-service.nix run the log store and its auth responders as pods 2026-11-30 22:19:38 +01:00
swarm-victorialogs.nix bind health listeners to the pod's loopback and probe them by exec 2026-11-30 22:20:28 +01:00
swarm-victoriametrics-service.nix run the metrics store and its auth responders as pods 2026-11-30 22:20:15 +01:00
swarm-victoriametrics.nix bind health listeners to the pod's loopback and probe them by exec 2026-11-30 22:20:28 +01:00
swarm.nix the log and metrics stores ask every request for a credential the gateway supplies 2026-11-30 22:20:28 +01:00