Skip to main content

Setup Tracing

Customize Traces & Spans

How to set custom attributes and semantic attributes to child spans and spans created by auto-instrumentors.

Auto Instrumentation

Phoenix natively works with a variety of frameworks and SDKs across Python and JavaScript via OpenTelemetry auto-instrumentation. Phoenix can also be natively integrated with AI platforms such as LangFlow and LiteLLM proxy.

Manual Instrumentation

Create and customize spans for your use-case

Instrument: Python using OpenInference Helpers

Instrument: Python using Base OTEL

Setup Tracing (TS)

Querying Spans

How to query spans to construct DataFrames to use for evaluation

Annotate Traces

Log Evaluation Results

How to log evaluation results to annotate traces with evals

Save and Load Traces

Cost Tracking

How to track token-based costs for your LLM applications