diff --git a/internal/dht/metrics.go b/internal/dht/metrics.go index a33e1c7c9..1bd1c7597 100644 --- a/internal/dht/metrics.go +++ b/internal/dht/metrics.go @@ -46,8 +46,8 @@ var ( }, []string{"datastore", "operation", "result"}) ) -func countIncomingRecordRequest(_ context.Context, _ network.Stream, req *pb.Message) { - slog.Debug("Incoming request", "type", req.GetType()) +func countIncomingRecordRequest(_ context.Context, s network.Stream, req *pb.Message) { + slog.Debug("Incoming request", "type", req.GetType(), "peer", s.Conn().RemotePeer()) switch req.GetType() { case pb.Message_PUT_VALUE: metricAnnouncementUpdatesTotal.Inc()