Back to directory

AI & Machine Learning · Machine Learning Infrastructure

OpenLLMetry

OpenTelemetry instrumentation for LLM applications

OpenLLMetry is an Apache-2.0 Python project from Traceloop that instruments LLM providers, application frameworks, vector databases, APIs, databases, and other dependencies. It exports portable OpenTelemetry traces to Traceloop Cloud, collectors, or supported observability platforms. Teams can inspect requests, responses, token usage, latency, errors, and surrounding workflows while disabling prompt and completion attributes when needed. The optional Traceloop Cloud plan supports up to 50,000 spans monthly at no cost.

Key facts

License
Apache-2.0
Main language
Python
Maintainer
Traceloop
First released
2023
Latest release
v0.62.4, September 29, 2026
GitHub stars
7.5k, October 2026
Hosted option
Traceloop Cloud, $0/month up to 50,000 spans; Enterprise pricing by quote

What OpenLLMetry is

OpenLLMetry is an open source observability project created by Traceloop, whose founders Nir Gazit and Gal Kleinman began building the underlying company after working with early LLM applications. The repository was created in 2023 and reports 7,500 stars, with the contributor list showing more than 60 named contributors and automated accounts. Traceloop says OpenLLMetry receives more than half a million package downloads monthly. The company identifies Cisco, Dynatrace, and IBM as users, and says Miro uses its broader platform. Traceloop joined Y Combinator's Winter 2023 batch and announced a $6.1 million seed round in May 2025, led by Sorenson Ventures with participation from Y Combinator, Samsung Next, IBEX, and angels.

How it works

OpenLLMetry adds tracing to LLM applications through a Python SDK or direct OpenTelemetry instrumentation. A typical setup installs the SDK, calls Traceloop.init, and exports spans to a configured destination. Spans can capture model requests and responses, token usage, latency, errors, vector database activity, database calls, API calls, and surrounding workflows. Integrations cover providers such as Anthropic, Bedrock, Cohere, Gemini, Groq, Mistral, Ollama, OpenAI, SageMaker, Together AI, and Vertex AI. Framework support includes CrewAI, Haystack, LangChain, LangGraph, LiteLLM, LlamaIndex, and OpenAI Agents. Vector integrations include Chroma, LanceDB, Marqo, Milvus, Pinecone, Qdrant, and Weaviate, alongside MCP. OpenTelemetry export can send traces to Traceloop Cloud, a collector, or supported observability platforms.

Architecture and recent releases

The main implementation language is Python, with shell files in the repository and a separate JavaScript and TypeScript project for Node applications. OpenLLMetry extends OpenTelemetry APIs, SDKs, semantic conventions, and exporters, allowing traces to flow to Traceloop, an OpenTelemetry Collector, or supported platforms such as Datadog, Dynatrace, Grafana, Honeycomb, New Relic, Sentry, SigNoz, and Splunk. Version 0.62.4, released September 29, 2026, fixed streaming token metrics for Groq, cancellation handling for MCP, streaming response handling in OpenAI, chunked assistant content in Mistral, and credential leakage on CrewAI spans. Instrumentation runs within the customer's application and does not itself provide a dashboard.

License and pricing

OpenLLMetry is Apache-2.0 software for tracing LLM providers, application frameworks, vector databases, and surrounding services through Python SDKs or direct OpenTelemetry instrumentation. It captures requests, responses, token usage, latency, errors, and workflow activity, then exports traces to Traceloop, an OpenTelemetry Collector, or platforms such as Datadog, Grafana, Honeycomb, New Relic, Sentry, and Splunk. Integrations cover providers including OpenAI, Anthropic, Bedrock, Gemini, Mistral, and Vertex AI, alongside LangChain, LlamaIndex, CrewAI, MCP, and major vector databases. Instrumentation runs in the customer's application and does not include a dashboard. Traceloop Cloud is optional, with a free tier for 50,000 spans monthly, while the complete platform can be deployed with Kubernetes and Helm.

Limitations and how it compares

OpenLLMetry is Apache-2.0 Python instrumentation for tracing LLM providers, application frameworks, vector databases, APIs, databases, and related workflows. It exports OpenTelemetry spans to Traceloop Cloud, an OpenTelemetry Collector, or platforms such as Datadog, Grafana, Honeycomb, and Sentry, but does not include its own dashboard or backend. Teams manage retention, querying, alerting, and storage through the selected destination. Prompt, completion, and embedding attributes may contain sensitive data, with content tracing controls available. Langfuse offers a tracing interface with prompt management and evaluation, while Helicone focuses on hosted gateway analytics and Collector with Jaeger offers a general tracing route. OpenLLMetry fits Python teams seeking broad provider and vector integrations with an existing observability stack.

Main features

  • LLM provider tracing. Captures requests, responses, token usage, latency, and errors across hosted, cloud, local, and open model providers.
  • Framework instrumentation. Adds spans around LangChain, LlamaIndex, LiteLLM, CrewAI, Haystack, LangGraph, OpenAI Agents, and MCP workflows.
  • Vector database tracing. Instruments Chroma, LanceDB, Marqo, Milvus, Pinecone, Qdrant, and Weaviate operations for retrieval debugging.
  • OpenTelemetry export. Exports standard OpenTelemetry data through configured destinations, including collectors and supported observability platforms.
  • Content controls. Allows operators to disable prompt, completion, and embedding attributes when traced content contains sensitive information.
  • Usage metrics. Records model usage details that help teams inspect token consumption, latency, errors, and request behavior.
  • Application correlation. Extends OpenTelemetry coverage to databases, APIs, and application workflows so LLM spans remain connected to surrounding services.

Self-hosting OpenLLMetry

OpenLLMetry runs inside the Python application that imports its packages, normally installed with pip and started with the application's existing process. It sends OTLP to Traceloop Cloud, an OpenTelemetry Collector, or another compatible backend, so the instrumentation package itself does not require PostgreSQL, Redis, ClickHouse, Kafka, or object storage. The complete Traceloop platform is separate and can be deployed with Kubernetes and Helm. Its documented stack includes PostgreSQL, ClickHouse, Kafka, S3 object storage, Temporal, and Centrifugo. Helm can deploy an all-in-one testing setup or applications against separately provisioned infrastructure. No minimum CPU or memory specification is published.

Strengths

  • Apache-2.0 licensing permits commercial use and modification.
  • OpenTelemetry export avoids requiring Traceloop Cloud.
  • Provider, framework, and vector database coverage is broad.
  • Content tracing can be disabled for data minimization.

Drawbacks

  • The package is instrumentation rather than a complete observability backend.
  • Provider API changes can require instrumentation updates.
  • Full platform deployment requires a substantial Kubernetes data stack.

What teams replace with it

Teams usually evaluate OpenLLMetry when they want to move off Datadog LLM Observability, New Relic AI Monitoring, Dynatrace GenAI Observability.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to OpenLLMetry

Frequently asked questions

Is OpenLLMetry free?

Yes. OpenLLMetry is Apache-2.0 software and can be installed and used without a Traceloop subscription. You still need a destination for the telemetry, such as an existing observability vendor, an OpenTelemetry Collector, or another backend. Traceloop Cloud is optional and costs $0 per month within its 50,000-span monthly limit.

Can companies use OpenLLMetry commercially?

Yes. Apache-2.0 permits commercial use, modification, redistribution, and inclusion in proprietary applications, subject to the license conditions and notices. OpenLLMetry does not impose a SaaS restriction. Traceloop Cloud and the complete Traceloop platform are commercial offerings, but purchasing either is not required to use the instrumentation packages.

What does self-hosting require?

The instrumentation runs in the application's Python environment and needs an OTLP-compatible destination. OpenLLMetry itself does not require PostgreSQL, Redis, or object storage. Those services depend on the selected backend. The complete Traceloop platform uses Kubernetes and Helm with PostgreSQL, ClickHouse, Kafka, S3 object storage, Temporal, and Centrifugo.

How does OpenLLMetry compare with Langfuse?

OpenLLMetry focuses on instrumentation and portable OpenTelemetry export, with integrations for model providers, frameworks, vector databases, and MCP. Langfuse provides its own tracing interface plus prompt management and evaluation features. Teams with an existing OpenTelemetry stack may prefer OpenLLMetry, while teams seeking a ready-made LLM observability interface may prefer Langfuse.

Does OpenLLMetry send application data to Traceloop?

The SDK sends traces to the configured endpoint, which can be Traceloop or another OpenTelemetry destination. Prompt and completion attributes can be disabled through the content tracing setting. The project states that version 0.49.2 and later no longer collect telemetry in the SDK or instrumentations, and that direct instrumentations do not collect telemetry.

Similar projects to compare

Sources

Last updated 2026-10-22.