populate receivedFrom field in delivery trace
This commit is contained in:
parent
4f972a14dd
commit
352c6b993e
5
trace.go
5
trace.go
|
@ -154,8 +154,9 @@ func (t *pubsubTracer) DeliverMessage(msg *Message) {
|
|||
PeerID: []byte(t.pid),
|
||||
Timestamp: &now,
|
||||
DeliverMessage: &pb.TraceEvent_DeliverMessage{
|
||||
MessageID: []byte(t.msgID(msg.Message)),
|
||||
Topic: msg.Topic,
|
||||
MessageID: []byte(t.msgID(msg.Message)),
|
||||
Topic: msg.Topic,
|
||||
ReceivedFrom: []byte(msg.ReceivedFrom),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue