class ElasticAPM::Span
def initialize(
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