Skip to content

Commit e654d73

Browse files
authored
fix: in_span performance (#1514)
1 parent 062f688 commit e654d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/lib/opentelemetry/trace/tracer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Tracer
3131
#
3232
# @yield [span, context] yields the newly created span and a context containing the
3333
# span to the block.
34-
def in_span(name, attributes: nil, links: nil, start_timestamp: nil, kind: nil, &block)
34+
def in_span(name, attributes: nil, links: nil, start_timestamp: nil, kind: nil)
3535
span = nil
3636
span = start_span(name, attributes: attributes, links: links, start_timestamp: start_timestamp, kind: kind)
3737
Trace.with_span(span) { |s, c| yield s, c }

0 commit comments

Comments
 (0)