dfd55dc10a2065699aced9e14c0d207d68d06b57
Add the unibus-nats Grafana dashboard and the per-node deploy script for the unibus_exporter NATS-local mode, which surfaces the server-level NATS/JetStream metrics that /healthz cannot (msgs/s, connections, KV bucket msgs, RAFT leader per stream, memory, restarts). - hub/dashboards/unibus-nats.json (uid unibus-nats, datasource victoriametrics): 12 panels — NATS up, connections, msgs/s in, slow consumers, JetStream msgs, nats-server restarts (1h); msgs/s per node (in/out), connections per node, KV bucket msgs per bucket, nats-server memory per node; RAFT leader per stream table, JetStream per node table. Picked up automatically by the existing "fleet" dashboard provider (scans the dashboards path). - hub/deploy_unibus_nats_exporter.sh: deploys unibus_exporter in NATS-local mode on a node. magnus pushes to the local VictoriaMetrics (no auth); homer/datardos push to the public ingest endpoint with basic auth (pass fleet/ingest-pass, never in argv). Installs unibus-exporter-nats.service and probes 8222 to warn if the monitoring endpoint is not yet open. Does NOT restart membershipd or touch the cluster — that is the consolidated 0.11.0 rollout. The scraper code (unibus_exporter NATS-local mode) and the registry parser (parse_nats_monitor_go_infra) ship in their own repos; see report unibus-nats-metrics-clean for the integration order. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Description
Synced from fn_registry
Languages
Shell
100%