lib/opentelemetry/sdk/trace/tracer.rb in opentelemetry-sdk-0.17.0 vs lib/opentelemetry/sdk/trace/tracer.rb in opentelemetry-sdk-1.0.0.rc1
- old
+ new
@@ -64,10 +64,10 @@
parent_span_id,
tracer_provider.active_trace_config,
tracer_provider.active_span_processor,
attributes,
links,
- start_timestamp || Time.now,
+ start_timestamp,
tracer_provider.resource,
@instrumentation_library
)
else
OpenTelemetry::Trace::Span.new(span_context: OpenTelemetry::Trace::SpanContext.new(trace_id: trace_id, span_id: span_id, tracestate: result.tracestate))