Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Export spans collected from a SpanBuffer or a list of ReadableSpan
export_spans(spans: SpanBuffer | List[ReadableSpan]) -> bool
True
from keywordsai_tracing import get_client client = get_client() with client.get_span_buffer("trace-xyz") as buffer: buffer.create_span("task", {"success": True}) spans = buffer.get_all_spans() client.export_spans(spans)
Was this page helpful?