class ElasticAPM::Span

def initialize(

rubocop:disable Metrics/ParameterLists
def initialize(
  transaction,
  id,
  name,
  type = nil,
  parent: nil,
  context: nil
)
  @transaction = transaction
  @id = id
  @name = name
  @type = type || DEFAULT_TYPE
  @parent = parent
  @context = context
  @stacktrace = nil
end