openllmetry: Observe LLM Applications with OpenTelemetry

Summary
OpenLLMetry adds OpenTelemetry-based tracing and metrics for LLM applications, providers, frameworks, and vector databases. It suits teams that want AI-specific observability in their existing telemetry stack rather than a separate monitoring format.
At a glance
- Language
- Python
- License
- Apache-2.0
- Stars
- 7.5k
- Forks
- 1.1k
- Added to OSRepos
- October 20, 2025
- Last analyzed
- October 3, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
OpenLLMetry is a Python project that extends OpenTelemetry with instrumentation for LLM applications. It helps developers inspect model and vector database activity alongside the rest of an application's telemetry, making it easier to investigate behavior and failures across an AI workflow.
Use it when you want LLM-specific traces in an existing OpenTelemetry-compatible observability system. The repository includes a convenience SDK as well as individual instrumentations that can be added to an application already using OpenTelemetry.
Key Features
- Instruments calls to LLM providers including OpenAI, Anthropic, Gemini, and Bedrock.
- Adds instrumentation for vector databases such as Chroma, Pinecone, Qdrant, and Weaviate.
- Supports frameworks and protocols including LangChain, LlamaIndex, OpenAI Agents, and MCP.
- Exports standard OpenTelemetry data to supported destinations, including Datadog, Grafana, Honeycomb, and the OpenTelemetry Collector.
- Offers a Python SDK for initializing instrumentation, or lets existing OpenTelemetry setups use instrumentations directly.
- Builds on OpenTelemetry instrumentation for other application components, such as databases and API calls.
Use Cases
- LLM application developers can trace model calls to understand errors and activity within an AI request.
- Platform and observability teams can send LLM telemetry to their existing OpenTelemetry-compatible stack.
- Teams using vector databases can inspect database activity alongside model-provider calls.
- Developers integrating frameworks such as LangChain or LlamaIndex can add framework instrumentation to their application telemetry.
Project Facts
- Language: Python
- License: Apache-2.0
- Stars: 7.5k
- Forks: 1.1k
- Topics: artifical-intelligence, datascience, generative-ai, good-first-issue, good-first-issues, help-wanted, llm, llmops, metrics, ml, model-monitoring, monitoring, observability, open-source, open-telemetry, opentelemetry, opentelemetry-python, python
- Archived: false
Getting Started
Install the SDK and initialize it in your application:
pip install traceloop-sdk
from traceloop.sdk import Traceloop
Traceloop.init()
See the getting started guide and the README for configuration and integration details.
Alternatives
- Evidently: Evidently focuses on evaluating and monitoring model quality, drift, and LLM outputs, rather than exporting application traces and metrics through OpenTelemetry.
- agenttrail: agenttrail visualizes local AI coding-agent plans, tool calls, and file changes, rather than providing provider- and framework-level OpenTelemetry instrumentation.
Considerations
- You need an OpenTelemetry-compatible destination and configuration to export and inspect telemetry; the project supports multiple destinations, but setup varies by backend.
- Instrumentation depends on the providers, frameworks, and database integrations used by your application. Check the project's instrumentation documentation for relevant setup details.
- The repository reports 733 open issues, so review current issues and releases when evaluating compatibility or investigating integration problems.
Source repository
Open the original repository on GitHub.
29 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

web-design: Create Consistent Web Pages with a Claude Code Skill
October 3, 2026
web-design is a Claude Code skill that turns product briefs, reference URLs, or screenshots into an editable design specification before generating web code. It is suited to developers and designers who want a repeatable, spec-led workflow for building consistent pages.

oomwoo: Build a DIY Robot Vacuum
October 2, 2026
OOMWOO is a planned, hackable robot vacuum built around Raspberry Pi, ROS2 and 2D LiDAR. It is aimed at makers who want to build and customize a locally controlled vacuum, but its hardware and build instructions are still in development.

shepherd: Supervise Agents with Reversible Execution Traces
October 2, 2026
Shepherd records agent work as inspectable, reversible execution traces and keeps changes as proposals for review. It is aimed at developers building systems that supervise, replay, or manage the work of other agents.

agent-anvil: Test AI Agent Tool Use in CI
October 1, 2026
Agent Anvil evaluates tool-using AI agents through scenario-based runs, trace checks, and optional semantic grading. It helps teams catch unsafe or incorrect tool behavior before it reaches production.