Skip to content

Commit 676e057

Browse files
update docs for in_span method to list start_timestamp as a Time object (#1846)
Co-authored-by: Kayla Reopelle <[email protected]>
1 parent 483d4c7 commit 676e057

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
@@ -26,7 +26,7 @@ class Tracer
2626
# @param attributes [optional Hash] attributes to attach to the span {String => String,
2727
# Numeric, Boolean, Array<String, Numeric, Boolean>}
2828
# @param links [optional Array] an array of OpenTelemetry::Trace::Link instances
29-
# @param start_timestamp [optional Integer] nanoseconds since Epoch
29+
# @param start_timestamp [optional Time] timestamp to use as the start time of the span
3030
# @param kind [optional Symbol] One of :internal, :server, :client, :producer, :consumer
3131
#
3232
# @yield [span, context] yields the newly created span and a context containing the

0 commit comments

Comments
 (0)