metrics: Prometheus endpoint on its own --metrics listener; the pod exposes it inside the cluster only

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
2026-11-19 10:56:43 +01:00
co-authored by Claude Sonnet 5.5
parent b922808a51
commit c653ae4206
13 changed files with 306 additions and 3 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ make image # build and push the container image (clean tree only)
| `internal/store` | SQLite: listings, messages, inbox, reports, tips; conflict rules; hide rule |
| `internal/p2p` | libp2p node, topics, validators, sync, discovery; `guard.go` (per-peer limits and bans), `ipgate.go` (connections per IP) |
| `internal/inbox` | the owner's conversations, replies, block |
| `internal/api` | HTTP API (public reads, relay, admin); `ratelimit.go` (per-client limit, trusted proxies) |
| `internal/api` | HTTP API (public reads, relay, admin); `ratelimit.go` (per-client limit, trusted proxies); `metrics.go` (Prometheus text on the separate `--metrics` listener) |
| `internal/places`, `internal/jcs`, `internal/pow` | place names, canonical JSON, hashcash (`pow.Mine`, the fast miner) |
| `cmd/allmende-sim`, `cmd/allmende-load`, `cmd/allmende-conns` | network simulator; load and mining-time tool; holds many connections to one node to measure its memory |
| `web/` | TypeScript UI (embedded), tests, build; `web/static/places.tsv` is generated |