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:
@@ -138,6 +138,8 @@ type Node struct {
|
||||
log *slog.Logger
|
||||
// guard rate-limits and bans the peers that relay to us.
|
||||
guard *peerGuard
|
||||
// gate limits inbound connections per address and refuses banned peers.
|
||||
gate *ipGate
|
||||
// gossipIn counts listings that arrived by gossip since the last summary.
|
||||
gossipIn tally
|
||||
// recoverAsked counts the peers asked for our own listings (see recoverOwn).
|
||||
@@ -280,6 +282,7 @@ func New(ctx context.Context, cfg Config) (*Node, error) {
|
||||
regions: map[string]*regionRun{},
|
||||
syncing: map[peer.ID]bool{},
|
||||
boot: boot,
|
||||
gate: gate,
|
||||
}
|
||||
if n.clock == nil {
|
||||
n.clock = time.Now
|
||||
|
||||
Reference in New Issue
Block a user