diff --git a/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/utils.py b/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/utils.py index e39721d6bd..20b97c99a7 100644 --- a/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/utils.py +++ b/instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/utils.py @@ -84,11 +84,11 @@ def set(self, carrier: textmap.CarrierT, key: str, value: str) -> None: def _enrich_span( - span, - topic, - partition: Optional[int] = None, - offset: Optional[int] = None, - operation: Optional[MessagingOperationValues] = None, + span, + topic, + partition: Optional[int] = None, + offset: Optional[int] = None, + operation: Optional[MessagingOperationValues] = None, ): if not span.is_recording(): return