diff --git a/metrics/metrics.go b/metrics/metrics.go index cc2aa2ed8..822974f81 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -765,6 +765,7 @@ var ChainNodeViews = append([]*view.View{ PubsubDeliverMessageView, PubsubRejectMessageView, PubsubDuplicateMessageView, + PubsubPruneMessageView, PubsubRecvRPCView, PubsubSendRPCView, PubsubDropRPCView, diff --git a/node/modules/lp2p/pubsub.go b/node/modules/lp2p/pubsub.go index 31a9991e6..2b3efce6c 100644 --- a/node/modules/lp2p/pubsub.go +++ b/node/modules/lp2p/pubsub.go @@ -560,7 +560,6 @@ func (trw *tracerWrapper) Trace(evt *pubsub_pb.TraceEvent) { case pubsub_pb.TraceEvent_PRUNE: stats.Record(context.TODO(), metrics.PubsubPruneMessage.M(1)) - log.Errorf("********************TRACE EVENT PRUNE****************************") if trw.traceMessage(evt.GetPrune().GetTopic()) { if trw.lp2pTracer != nil { trw.lp2pTracer.Trace(evt)