def start_span(operation_name, child_of: nil, start_time: ::Instana::Util.now_in_ms, tags: nil)
      # return unless ::Instana.agent.ready?

      if tracing?
        span = self.current_trace.new_span(operation_name, tags, start_time, child_of)
      else
        self.current_trace = ::Instana::Trace.new(operation_name, tags, nil, start_time)
        span = self.current_trace.current_span
      end
      span.set_tags(tags)
      span
    end
def start_span(operation_name, child_of: nil, start_time: ::Instana::Util.now_in_ms, tags: nil)
      # return unless ::Instana.agent.ready?

      if tracing?
        span = self.current_trace.new_span(operation_name, tags, start_time, child_of)
      else
        self.current_trace = ::Instana::Trace.new(operation_name, tags, nil, start_time)
        span = self.current_trace.current_span
      end
      span.set_tags(tags)
      span
    end
OpenTracing Support

 Start a new span

 @param operation_name [String] The name of the operation represented by the span
 @param child_of [Span] A span to be used as the ChildOf reference
 @param start_time [Time] the start time of the span
 @param tags [Hash] Starting tags for the span

 @return [Span]