Files
goldpinger/pkg
Cooper Ry Lees 4308eb1fa5 Also prune response-time histogram "check" call_type on peer removal
Address PR #169 review: DeletePeerMetrics only removed the "ping"
call_type label set, leaving stale "check" samples from CheckAllPods
in /metrics after a peer rolls. goldpingerResponseTimePeersHistogram
is observed at two sites — Pinger (pinger.go:56, "ping") and
CheckAllPods via GetLabeledPeersCallsTimer (client.go:209, "check")
— so both must be pruned.

Missed on the first pass because I traced the Pinger observation
(the hot path) and did not separately check for the "check" label
value emitted from the /check_all handler. Tests now seed both
call_types before teardown so either gap regresses.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Cooper Ry Lees <me@cooperlees.com>
2026-04-22 13:54:01 +00:00
..