class Traces::Backend::Capture::Span
def initialize(context, name, resource, attributes)
@parameter resource [String] The "resource" that the span is associated with.
@parameter name [String] A useful name/annotation for the recorded span.
@parameter context [Context] The context in which the span is recorded.
Initialize a new span.
def initialize(context, name, resource, attributes) @context = context @name = name @resource = resource @attributes = attributes end