fix
This commit is contained in:
parent
1b61d13733
commit
e54b32208c
@ -765,6 +765,7 @@ var ChainNodeViews = append([]*view.View{
|
|||||||
PubsubDeliverMessageView,
|
PubsubDeliverMessageView,
|
||||||
PubsubRejectMessageView,
|
PubsubRejectMessageView,
|
||||||
PubsubDuplicateMessageView,
|
PubsubDuplicateMessageView,
|
||||||
|
PubsubPruneMessageView,
|
||||||
PubsubRecvRPCView,
|
PubsubRecvRPCView,
|
||||||
PubsubSendRPCView,
|
PubsubSendRPCView,
|
||||||
PubsubDropRPCView,
|
PubsubDropRPCView,
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user