lib/opentelemetry/instrumentation/mysql2/patches/client.rb in opentelemetry-instrumentation-mysql2-0.27.1 vs lib/opentelemetry/instrumentation/mysql2/patches/client.rb in opentelemetry-instrumentation-mysql2-0.27.2
- old
+ new
@@ -17,20 +17,20 @@
tracer.in_span(
_otel_span_name(sql),
attributes: _otel_span_attributes(sql),
kind: :client
) do
- super(sql, options)
+ super
end
end
def prepare(sql)
tracer.in_span(
_otel_span_name(sql),
attributes: _otel_span_attributes(sql),
kind: :client
) do
- super(sql)
+ super
end
end
private