This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new 8e86257  PROTON-2489: Use standardized tag for trace message creator
8e86257 is described below

commit 8e862575134dcd78f5b82d0a71f594e700d52fd9
Author: Andrew Stitcher <[email protected]>
AuthorDate: Mon Jan 24 10:50:31 2022 -0500

    PROTON-2489: Use standardized tag for trace message creator
---
 python/proton/_tracing.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/proton/_tracing.py b/python/proton/_tracing.py
index d8ca80e..f08d31f 100644
--- a/python/proton/_tracing.py
+++ b/python/proton/_tracing.py
@@ -87,7 +87,7 @@ class IncomingMessageHandler(ProtonIncomingMessageHandler):
                 tags.MESSAGE_BUS_DESTINATION: receiver.source.address,
                 tags.PEER_ADDRESS: connection.connected_address,
                 tags.PEER_HOSTNAME: connection.hostname,
-                'inserted_by': 'proton-message-tracing'
+                tags.COMPONENT: 'proton-message-tracing'
             }
             if message.annotations is not None and _trace_key in 
message.annotations:
                 headers = message.annotations[_trace_key]
@@ -120,7 +120,7 @@ class Sender(ProtonSender):
             tags.MESSAGE_BUS_DESTINATION: self.target.address,
             tags.PEER_ADDRESS: connection.connected_address,
             tags.PEER_HOSTNAME: connection.hostname,
-            'inserted_by': 'proton-message-tracing'
+            tags.COMPONENT: 'proton-message-tracing'
         }
         span = tracer.start_span('amqp-delivery-send', tags=span_tags)
         headers = {}

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to