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
atlas e92f118bda add swarm-metrics, an agent CLI for the metrics store
swarm-metrics reads the swarm's VictoriaMetrics from inside an agent
container: query, query-range, series, labels and label-values, each one
GET against the store's Prometheus read API through the gateway, printing
the store's JSON. It authenticates the way swarm-logs does, with the
agent's own queue secret read from bao under the agent's leaf, sent as
a swarm-agent bearer.

On the metrics store's host the read API's auth map gains an agent arm
ahead of the Grafana one. It routes to swarm-metrics-agent-auth, a
swarm-logs-auth instance logged in under the existing swarm-metrics-auth
leaf, whose bao grant now includes swarm/agents/+/queue read. The check is
rate-limited per address like the log store's
(deploy.victoriametrics.agentAuth{Rate,Burst,VerdictTtl}).

nix/agent-modules/metrics.nix installs the wrapped binary when the hive
forwards HIVE_AGENT_METRICS_URL (from swarm.victoriametrics.domain) and a
store address, the same gate as swarm-logs. Adds the base:swarm-metrics
skill and the CLI reference with its freshness check.

Fixes #5395
2026-10-17 10:10:17 +02:00
..
agent-forge-bao.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
agent-github-bao.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
agent-icon.nix nix: split module-eval into per-subsystem checks 2026-09-20 04:25:54 +02:00
agent-matrix.nix module-eval: evaluate shared fixture configs once 2026-10-13 08:14:50 +02:00
agent-memory.nix subagent, bash: run each subagent run and bash task in its own cgroup 2026-10-13 12:25:27 +02:00
agent-otel.nix remove otel.metricIntervalMs and the host-level otel.debug 2026-10-17 08:00:14 +02:00
agent-plugins.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
agent-queue-bao.nix add swarm-metrics, an agent CLI for the metrics store 2026-10-17 10:10:17 +02:00
agent-runtime.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
agent-user.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
bao-basics.nix swarm-bao-agent-pki: decide openbao's restart on the shared locale-independent compare 2026-10-13 17:00:56 +02:00
bao-controller.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
bao-grants.nix add swarm-metrics, an agent CLI for the metrics store 2026-10-17 10:10:17 +02:00
bao-matrix-reader.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
bao-otel-collector.nix make bao readers want swarm-bao-pki and drop its start limit 2026-10-16 18:29:38 +02:00
builder.nix swarm-authelia: run the secret publisher and a journal forwarder inside the container 2026-10-17 00:28:16 +02:00
ci-metrics.nix read the publisher in authelia's container in the ci-metrics eval and error text 2026-10-17 00:28:16 +02:00
core-toggle.nix add swarm-metrics, an agent CLI for the metrics store 2026-10-17 10:10:17 +02:00
forge-placement.nix drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00
grafana.nix grafana: forward the host env to the logs datasource plugin 2026-10-16 23:20:16 +02:00
hive-otel.nix swarm-authelia: run the secret publisher and a journal forwarder inside the container 2026-10-17 00:28:16 +02:00
hive-tls.nix gateway: serve the hive dashboard on <hive>.hives.<swarm> behind authelia, drop htpasswd 2026-10-15 21:44:27 +02:00
journald-severity.nix module-eval: assert the severity table once, not once per tier 2026-09-20 14:23:56 +02:00
lib.nix drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00
matrix-core.nix hive-matrix: keep tuwunel's OIDC secret on the host's /run, not in the container's root 2026-10-15 23:31:32 +02:00
name-guards.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
nats-authelia.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
nats-tls.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
secret-publisher.nix swarm-authelia: run the secret publisher and a journal forwarder inside the container 2026-10-17 00:28:16 +02:00
shared.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00
snapshot-store.nix module-eval: restore seven zero-cost literal-pin cases 2026-10-17 08:00:29 +02:00
swarm-otel-core.nix swarm-otel: keep the collector's OIDC secret on the host's /run, not in the container's root 2026-10-15 21:45:48 +02:00
swarm-otel-identity.nix drop option renames and removals older than two weeks 2026-10-16 22:04:57 +02:00
swarm-services-switch.nix module-eval: drop 18 redundant cases and merge assertion-only hosts 2026-10-17 08:00:29 +02:00