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. -
_nodes(dict[str, Node]): Stores Node objects keyed by their OpenAI span_id or trace_id (for root).