lib/opentelemetry/instrumentation/mysql2/patches/client.rb in opentelemetry-instrumentation-mysql2-0.20.0 vs lib/opentelemetry/instrumentation/mysql2/patches/client.rb in opentelemetry-instrumentation-mysql2-0.20.1

- old
+ new

@@ -58,10 +58,10 @@ when :obfuscate attributes['db.statement'] = obfuscate_sql(sql) end tracer.in_span( database_span_name(sql), - attributes: attributes, + attributes: attributes.merge!(OpenTelemetry::Instrumentation::Mysql2.attributes), kind: :client ) do super(sql, options) end end