We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 123575e commit 060d1c6Copy full SHA for 060d1c6
1 file changed
instrumentation/opentelemetry-instrumentation-dbapi/src/opentelemetry/instrumentation/dbapi/__init__.py
@@ -727,8 +727,7 @@ def _populate_span(
727
_set_db_statement(span_attrs, statement, sem_conv_mode)
728
729
# Set all collected attributes
730
- for attribute_key, attribute_value in span_attrs.items():
731
- span.set_attribute(attribute_key, attribute_value)
+ span.set_attributes(span_attrs)
732
733
for (
734
attribute_key,
0 commit comments