OpenLLMetry instrumentation for LiteLLM
An OpenTelemetry instrumentor for observing calls from applications that use LiteLLM.
Published by Traceloop
How to use it
Send a controlled request through the application and inspect the model-call span with the surrounding request context. Compare retries and failures when changing the application configuration.
Run pip install opentelemetry-instrumentation-litellm where the Python LiteLLM library runs. Set up an OpenTelemetry backend and verify captured fields before exporting production traffic.
- Compatibility
- Python, LiteLLM, OpenTelemetry
- Monitoring areas
- Model-call tracing, Application error monitoring
- Access
- Local Python instrumentation. A compatible OpenTelemetry receiver is needed to view traces.
