class Traces::Backend::Capture::Span

def as_json

Convert the span to a JSON representation.
def as_json
	{
		name: @name,
		resource: @resource,
		attributes: @attributes,
		context: @context.as_json
	}
end