Pre-Requisites
- Create an account on Qualifire
- Get your API key from the Qualifire dashboard
Quick Start
Use just 2 lines of code to send OpenTelemetry traces across all providers to Qualifire.Using with LiteLLM Proxy
1
Setup config.yaml
Configure the LiteLLM proxy with OpenTelemetry callback:
2
Start the proxy
3
Test it!
Environment Variables
All three environment variables are required for OTEL tracing. The
OTEL_HEADERS variable must include your Qualifire API key.What Gets Traced?
Span & Timing Data
Span & Timing Data
Start time, end time, and duration for each operation in the trace.
Request & Response Attributes
Request & Response Attributes
Model name, messages, parameters, generated content, and finish reason.
Token Usage & Errors
Token Usage & Errors
Prompt tokens, completion tokens, total tokens, and any exception details if the call fails. Custom metadata you add to requests is also captured.
- View end-to-end traces across your AI pipeline
- Analyze latency and performance metrics
- Debug issues with detailed span information
- Correlate traces with evaluations and guardrail results