Files
knox/internal/cmd
david 876d2aa45f feat: Prometheus metrics endpoint for knox nodes
Refs #2

- /metrics served on a dedicated port (KNOX_METRICS_ADDR, default
  localhost:8932) via prometheus/client_golang, with Go runtime +
  process collectors
- DB-derived gauges refreshed per scrape: observations by source,
  last-24h observations, entries, projects, sessions, pending
  reflections, threads by status, peers, observations by origin node,
  knowledge vector (max hcl per node)
- live gossip counters (pulls/pushes, observations pulled/pushed,
  errors) incremented during the anti-entropy sweep; Run accepts an
  optional metrics handle (nil for one-shot CLI)
- knox_node_info{node_id,name} for scrape identification
- internal/metrics package + db MetricsSnapshot; tests for snapshot,
  scrape output, and counter increments
2026-08-29 06:06:49 -07:00
..
2026-08-29 02:52:32 -07:00
2026-08-29 02:52:32 -07:00
2026-08-29 02:52:32 -07:00
2026-08-29 02:52:32 -07:00
2026-08-29 04:53:26 -07:00
2026-08-29 02:52:32 -07:00
2026-08-29 02:52:32 -07:00
2026-08-29 02:52:32 -07:00
2026-08-29 02:52:32 -07:00