Commit 352c6b99 authored by vyzo's avatar vyzo

populate receivedFrom field in delivery trace

parent 4f972a14
......@@ -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),
},
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment