OpenLLMetry

Active
GitHub Python Apache-2.0

Description

OpenLLMetry is an open-source observability tool for LLM applications based on OpenTelemetry, providing tracing, metrics, and monitoring capabilities.

Key Features

  • OpenTelemetry-Based Observability — built on OpenTelemetry extensions for complete LLM application tracing and monitoring
  • 20+ LLM Provider Instrumentation — supports OpenAI, Anthropic, Cohere, Google Gemini, Mistral, Ollama, HuggingFace, and more
  • Vector DB Tracing — instrument Chroma, Pinecone, Qdrant, Weaviate, Milvus, LanceDB, and Marqo
  • Framework Support — auto-instrument LangChain, LlamaIndex, Crew, Agno, and other agentic frameworks
  • 25+ Destination Integrations — connect to Datadog, Grafana, New Relic, Sentry, Splunk, Honeycomb, and others
  • Traceloop SDK — simple one-line init (Traceloop.init()) for instant tracing with standard OpenTelemetry data output

Use Cases

💡 Add end-to-end tracing to LLM applications with minimal code changes
💡 Monitor model performance, latency, and token usage across providers
💡 Debug agentic workflows by tracing tool calls and chain execution
💡 Export traces to existing observability stacks like Datadog or Grafana
💡 Track vector database queries and retrieval performance in RAG pipelines

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (7.4k stars)
  • Permissive open-source license (Apache-2.0)
  • Established track record (2 years in production)

⚠️ Limitations

  • High issue backlog (640 open issues)

Quick Start

Install with pip install traceloop-sdk, then add Traceloop.init() to your code. For local debugging, use Traceloop.init(disable_batch=True). Traces are automatically exported to your configured destination via OpenTelemetry.

Related Projects

OpenLIT

2.7k · TypeScript
Active A

OpenLIT is an open-source AI engineering platform providing OpenTelemetry-native LLM observability, GPU monitoring, guardrails, evaluations, prompt management, and playground, integrating with 50+ LLM providers and agent frameworks.

observabilityopentelemetryllm +2
  • · OpenTelemetry-native LLM observability with full-stack monitoring of LLMs, vector databases, and GPUs
  • · 11 built-in evaluation types including hallucination, bias, toxicity, and safety detection
  • · Rule engine with AND/OR conditional logic for runtime trace attribute matching

SwanLab

4.2k · Python
Active A+

An open-source, modern-design AI training tracking and visualization tool. Supports PyTorch, Transformers and more. Monitor and evaluate AI agent training processes.

pythonobservabilityevaluation +2
  • · Seamless integration with 50+ mainstream frameworks: native support for PyTorch, Transformers, HuggingFace Accelerate, PaddleNLP, NVIDIA NeMo RL and more, with two lines of code to connect training pipelines
  • · Rich visualization system: supports line charts, scalar plots, PR curves, ROC curves, confusion matrices, 3D point clouds, molecular structures, ECharts custom charts and 20+ chart types
  • · Multi-dimensional hardware monitoring: real-time monitoring of GPU (NVIDIA/AMD ROCm/Hygon DCU/Cambricon MLU/Moore Threads/Muxi/Iluvatar/Kunlun), disk utilization, network traffic and other hardware metrics

AgentOps

5.8k · Python
Normal B

AgentOps is an observability platform for AI agents, providing monitoring, debugging, and evaluation to help developers optimize agent performance.

observabilitymonitoringdebugging +1
  • · AI Agent observability platform with session replay and step-by-step execution graphs
  • · LLM cost management: track spending with foundation model providers
  • · Native integrations with CrewAI, AG2, LangGraph and other major agent frameworks

OpenInference

1.1k · Python
Active A

OpenTelemetry instrumentation for AI observability, providing standardized tracing, metrics collection, and span definitions for LLM inference processes to help developers monitor and debug AI agent systems.

observabilitypythonllm +2
  • · OpenTelemetry-based instrumentation spec for tracing LLM inference and application context
  • · Instrumentation libraries for 15+ ML frameworks: OpenAI, LlamaIndex, LangChain, DSPy, CrewAI, Agno, and more
  • · Semantic conventions for standardized span attributes across LLM applications