Skip to content

Commit

Permalink
chore: Change span names to operation topic i.e. send topic-name fo…
Browse files Browse the repository at this point in the history
…r better visibility in jaeger and zipkin

Signed-off-by: Jayson Reis <santosdosreis@gmail.com>
  • Loading branch information
jaysonsantos committed Mar 21, 2023
1 parent fa8549b commit 2bc09b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ def _enrich_span_with_message_id(span, message: pulsar.MessageId):


def _get_span_name(operation: str, topic: str):
return f"{topic} {operation}"
return f"{operation} {topic}"

0 comments on commit 2bc09b7

Please sign in to comment.