Skip to main content

ObservabilityAdapter

Defined in the obs module.
AI Agent Protocol for observability adapters.

Methods

on_trace_start()

Called when a trace starts.

on_trace_end()

Called when a trace ends.

on_span_start()

Called when a span starts.

on_span_end()

Called when a span ends.

on_llm_call()

Called when an LLM call is made.

on_tool_call()

Called when a tool is invoked.

flush()

Flush any pending data.

close()

Close the adapter and release resources.

Source

View on GitHub

praisonaiagents/obs/__init__.py at line 57