Skip to content

Commit 4b26b25

Browse files
authored
Rename internal_create_span (#1366)
1 parent b3a9c66 commit 4b26b25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/lib/opentelemetry/sdk/trace/tracer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def start_span(name, with_parent: nil, attributes: nil, links: nil, start_timest
3232
kind ||= :internal
3333
with_parent ||= Context.current
3434

35-
@tracer_provider.internal_create_span(name, kind, attributes, links, start_timestamp, with_parent, @instrumentation_scope)
35+
@tracer_provider.internal_start_span(name, kind, attributes, links, start_timestamp, with_parent, @instrumentation_scope)
3636
end
3737
end
3838
end

sdk/lib/opentelemetry/sdk/trace/tracer_provider.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def add_span_processor(span_processor)
126126
end
127127

128128
# @api private
129-
def internal_create_span(name, kind, attributes, links, start_timestamp, parent_context, instrumentation_scope) # rubocop:disable Metrics/MethodLength
129+
def internal_start_span(name, kind, attributes, links, start_timestamp, parent_context, instrumentation_scope) # rubocop:disable Metrics/MethodLength
130130
parent_span = OpenTelemetry::Trace.current_span(parent_context)
131131
parent_span_context = parent_span.context
132132

0 commit comments

Comments
 (0)