This commit is contained in:
Shrenuj Bansal 2023-07-07 14:17:21 -04:00
parent 1b61d13733
commit e54b32208c
2 changed files with 1 additions and 1 deletions

View File

@ -765,6 +765,7 @@ var ChainNodeViews = append([]*view.View{
PubsubDeliverMessageView, PubsubDeliverMessageView,
PubsubRejectMessageView, PubsubRejectMessageView,
PubsubDuplicateMessageView, PubsubDuplicateMessageView,
PubsubPruneMessageView,
PubsubRecvRPCView, PubsubRecvRPCView,
PubsubSendRPCView, PubsubSendRPCView,
PubsubDropRPCView, PubsubDropRPCView,

View File

@ -560,7 +560,6 @@ func (trw *tracerWrapper) Trace(evt *pubsub_pb.TraceEvent) {
case pubsub_pb.TraceEvent_PRUNE: case pubsub_pb.TraceEvent_PRUNE:
stats.Record(context.TODO(), metrics.PubsubPruneMessage.M(1)) stats.Record(context.TODO(), metrics.PubsubPruneMessage.M(1))
log.Errorf("********************TRACE EVENT PRUNE****************************")
if trw.traceMessage(evt.GetPrune().GetTopic()) { if trw.traceMessage(evt.GetPrune().GetTopic()) {
if trw.lp2pTracer != nil { if trw.lp2pTracer != nil {
trw.lp2pTracer.Trace(evt) trw.lp2pTracer.Trace(evt)