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
Environment Variables
All three environment variables are required for OTEL tracing. The
OTEL_HEADERS variable must include your Qualifire API key.| Variable | Description |
|---|---|
OTEL_EXPORTER | The exporter type. Use otlp_http for Qualifire |
OTEL_ENDPOINT | Qualifire telemetry endpoint: https://proxy.qualifire.ai/api/telemetry |
OTEL_HEADERS | Authentication header: X-Qualifire-API-Key=<your-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