OpenLLMetry is a set of OpenTelemetry extensions and a Traceloop SDK that trace LLM applications, including LLM provider and vector database calls, and send standard telemetry to existing observability tools.
Overview
OpenLLMetry gives developers observability over LLM applications by building on OpenTelemetry. It provides standard OpenTelemetry instrumentations for LLM providers such as OpenAI and Anthropic, and for vector databases such as Chroma, Pinecone, Qdrant and Weaviate. It also covers frameworks like LangGraph and OpenAI Agents. It works alongside everything OpenTelemetry already instruments, such as databases and API calls, so LLM calls appear in the same traces as the rest of the application.
The quickest way to start is the Traceloop SDK. You install it and add a line of initialization code to your application. Decorators such as a workflow decorator let you mark logical units of work in your code. The SDK is available for Python, and a separate project covers JavaScript and TypeScript. If you already use OpenTelemetry, you can skip the SDK and add individual instrumentations directly.
The output is standard OpenTelemetry data, so it can be sent to many backends. The documented and tested destinations include Traceloop, Datadog, Honeycomb, Grafana, New Relic, Dynatrace, Splunk, SigNoz, Sentry, Axiom, Azure Application Insights, Google Cloud and the OpenTelemetry Collector, among others. For local work, batch sending can be turned off so traces show up immediately.
OpenLLMetry is built and maintained by Traceloop. Its semantic conventions for LLM observability have become part of OpenTelemetry. The SDK and instrumentations no longer collect telemetry in recent versions.
Key features
- OpenTelemetry instrumentations for LLM providers
- Vector database instrumentation
- Framework support including LangGraph and OpenAI Agents
- Traceloop SDK with one-line initialization
- Workflow decorators for tracing code units
- Exports standard OpenTelemetry data
- Tested with many observability backends
- Option to disable batching for local debugging
Use cases
- Tracing LLM application calls
- Monitoring vector database queries
- Sending LLM traces to Datadog or Grafana
- Adding LLM instrumentation to existing OpenTelemetry setups
- Debugging agent workflows