class Traces::Context

def as_json

Convert the trace context to a JSON representation, including trace state.
def as_json
	{
		trace_id: @trace_id,
		parent_id: @parent_id,
		flags: @flags,
		state: @state,
		remote: @remote
	}
end