Skip to content

Commit 620e8b5

Browse files
committed
Get rid of pymongo command in pymongo instrumentation span name
1 parent 934af7e commit 620e8b5

File tree

1 file changed

+0
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo

1 file changed

+0
-1
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-pymongo/src/opentelemetry/instrumentation/pymongo/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ def started(self, event: monitoring.CommandStartedEvent):
124124
name = event.command_name
125125
statement = event.command_name
126126
if command:
127-
name += "." + str(command)
128127
statement += " " + str(command)
129128

130129
try:

0 commit comments

Comments
 (0)