_OpenAITraceState
Mutable lifecycle state owned by one OpenAI Agents trace.SplunkAOTracingProcessor
OpenAI Agents TracingProcessor for logging traces to Splunk AO. Builds a tree of spans during agent execution and logs them hierarchically to Splunk AO upon trace completion. Arguments-
_splunk_ao_logger(SplunkAOLogger): The Splunk AO logger instance. -
_flush_on_trace_end(bool): Whether to automatically flush the log batch to Splunk AO when a trace ends. -
_trace_states(dict[str, _OpenAITraceState]): Stores independent lifecycle state keyed by OpenAI trace ID.