Force flush the processor.
Called when a span is ended.
Called when a span is started.
Copies relevant baggage entries to span attributes.
Only GenAI spans are processed (those with a known gen_ai.operation.name
span attribute: invoke_agent, execute_tool, chat, output_messages);
all other spans pass through unmodified.
OptionalparentContext: ContextShutdown the processor.
Copies relevant baggage entries to span attributes on span start.
This is the "automatic" counterpart to the manual scope API — it ensures every span in the pipeline gets agent identity attributes from baggage without explicitly creating scopes.