Skip to content

Commit 2bc09b7

Browse files
committed
chore: Change span names to operation topic i.e. send topic-name for better visibility in jaeger and zipkin
Signed-off-by: Jayson Reis <[email protected]>
1 parent fa8549b commit 2bc09b7

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-pulsar/src/opentelemetry/instrumentation/pulsar

1 file changed

+1
-1
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-pulsar/src/opentelemetry/instrumentation/pulsar/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ def _enrich_span_with_message_id(span, message: pulsar.MessageId):
7070

7171

7272
def _get_span_name(operation: str, topic: str):
73-
return f"{topic} {operation}"
73+
return f"{operation} {topic}"

0 commit comments

Comments
 (0)