openllmetry
CLAUDE.md7.5k starsChanged 22 months agoApache-2.0View on GitHub
This outputs all spans to console in JSON format, showing trace IDs, span IDs, parent relationships, and attributes for debugging span hierarchy issues.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about traceloop/openllmetry
- A Hacker News story“Show HN: OpenLLMetry – OpenTelemetry-based observability for LLMs”Hacker News · Oct 11, 2023 · 154 points
- open-telemetry/community“[Donation Proposal]: OpenLLMetry”GitHub · Feb 13, 2025 · 38 reactions
- open-telemetry/semantic-conventions-genai“Introduce semantic conventions for modern AI (LLMs, vector databases, etc.)”GitHub · Sep 15, 2023 · 18 reactions
- open-telemetry/community“Expand GenAI project to cover instrumentation libraries”GitHub · Sep 3, 2024 · 6 reactions
- langchain-ai/langchain“core(callbacks): context is not maintained when async callbacks get shielded”GitHub · May 28, 2025 · 5 reactions
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub, Bluesky and Hacker News (53 times).
On GitHub · 50
- Feb 13, 2025[Donation Proposal]: OpenLLMetry — open-telemetry/community38 reactions · 4 comments
- Sep 15, 2023Introduce semantic conventions for modern AI (LLMs, vector databases, etc.) — open-telemetry/semantic-conventions-genai18 reactions · 2 comments
- Sep 3, 2024Expand GenAI project to cover instrumentation libraries — open-telemetry/community6 reactions · 5 comments
- May 28, 2025core(callbacks): context is not maintained when async callbacks get shielded — langchain-ai/langchain5 reactions · 2 comments
- Nov 1, 2023[Sandbox] OpenLLMetry — cncf/sandbox5 reactions · 15 comments
45 more on GitHub
- Oct 20, 2024[Bug]: model_name and token_usage not returned in callback when invoked via agent — langchain-ai/langchain2 reactions · 1 comment
- Sep 18, 2024REQUEST: New membership for @gyliu513 — open-telemetry/community2 reactions · 3 comments
- May 28, 2024Do we need to distinguish client side and server side llm call? — open-telemetry/semantic-conventions2 reactions · 3 comments
- Sep 14, 2026chore(deps): bump opentelemetry-instrumentation-anthropic from 0.61.0 to 0.62.3 in /packages/telemetry/python — latitude-dev/latitude-llm1 reaction · 2 comments
- Jul 17, 2026Migrate Python & Node.js deep-injection instrumentation from Traceloop to OpenInference — plengauer/Thoth1 reaction · 1 comment
- Jun 8, 2026chore(deps): update opentelemetry-instrumentation-langchain requirement from >=0.40b0 to >=0.61.0 in /python/instrumentation/openinference-instrumentation-openllmetry — Arize-ai/openinference1 reaction · 1 comment
- Apr 17, 2026langgraph 1.1.7 regression: TypeError with opentelemetry-instrumentation-langchain — langchain-ai/langgraph1 reaction · 1 comment
- Mar 28, 2026feat: add support for openai agents — alibaba/loongsuite-python1 reaction · 6 comments
- Oct 29, 2025Observability of AI workloads — pacoxu/AI-Infra1 reaction
- Oct 14, 2025🚀 Feature: Support new Pinecone APIs — traceloop/openllmetry-js1 reaction
- Oct 2, 2025Distributed Tracing Support for Fine-Grained Observability — vllm-project/semantic-router1 reaction · 1 comment
- May 3, 2025Dashboard alert monitoring — Nova-Hunting/nova-framework1 reaction · 1 comment
- Feb 26, 2024Improve OpenAI observability with openai specific instrumentation — Azure-Samples/azure-search-openai-demo1 reaction · 1 comment
- Nov 10, 2026Bump the "src-agent" group with 1 update across multiple ecosystems — zacknaviteq/opentelemetry-demo0 reactions
- Nov 10, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — zacknaviteq/opentelemetry-demo0 reactions
- Nov 10, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — kengcc/astronomy-shop-llm-monitoring0 reactions
- Nov 10, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — devopsplan2026/opentelemetry-demo0 reactions
- Nov 10, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — chriscaram/astronomy-shop-demo0 reactions
- Nov 9, 2026Bump opentelemetry-instrumentation-openai from 0.52.4 to 0.63.0 — datarobot-oss/datarobot-fastrag0 reactions · 1 comment
- Nov 9, 2026ci: update opentelemetry-instrumentation-langchain requirement from <0.63.0,>=0.40.0 to >=0.40.0,<0.64.0 — strands-agents/evals0 reactions
- Nov 5, 2026Traceloop SDK 0.63.0 released — evaluate instrumentation bump — wso2/agent-manager0 reactions · 1 comment
- Nov 4, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — refaelb/otel-demo0 reactions
- Oct 27, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — kkdevopsb10online1/kk-open-tel0 reactions
- Oct 24, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — harsha92vardhini-prog/DevOps0 reactions · 1 comment
- Oct 24, 2026Bump the "src-agent" group with 1 update across multiple ecosystems — harsha92vardhini-prog/DevOps0 reactions · 1 comment
- Oct 14, 2026Bump the "src-agent" group with 2 updates across multiple ecosystems — pellepedro-testbot/opentelemetry-demo0 reactions
- Oct 14, 2026Bump the "src-mcp" group with 2 updates across multiple ecosystems — pellepedro-testbot/opentelemetry-demo0 reactions
- Oct 6, 2026Bump the "src-mcp" group with 1 update across multiple ecosystems — VeeraMaddula/opentelemetry-demo-main-gke0 reactions · 1 comment
- Sep 28, 2026chore(deps): bump opentelemetry-instrumentation-mistralai from 0.61.0 to 0.62.3 in /packages/telemetry/python — OARANHA/vigia-wandora0 reactions
- Sep 17, 2026deps(deps): update traceloop-sdk requirement from >=0.39.4 to >=0.62.3 — IBM/agentic-tool-monitoring-blog0 reactions
- Aug 21, 2026chore(deps): update opentelemetry-instrumentation-langchain requirement from >=0.40b0 to >=0.62.3 in /python/instrumentation/openinference-instrumentation-openllmetry — MatrixRequirements/openinference0 reactions
- Jun 24, 2026Bedrock prompt cacheing is not supported — InftyAI/alphatrion0 reactions
- Jun 21, 2026ax will solve privacy-safe telemetry payload budgets — Necmttn/ax0 reactions · 2 comments
- Jun 21, 2026ax will solve MCP and plugin visibility across agent harnesses — Necmttn/ax0 reactions · 2 comments
- Jun 6, 2026[Add] OpenLLMetry (traceloop/openllmetry) — PyTorchKR/landscape0 reactions
- Apr 22, 2026Add LLM observability: LiteLLM proxy + OpenLIT into the OTel pipeline — infracloudio/sre-stack0 reactions
- Mar 7, 2026Try openLLMetry in front of langfuse — igor1309/ai-labs0 reactions
- Sep 12, 2025Wastonx Instrumentation Support — open-telemetry/opentelemetry-python-contrib0 reactions
- Mar 1, 2025Support for httpx instrumentation — augment-test-org/openllmetry0 reactions
- Mar 1, 2025Support for CrewAI Observability — augment-test-org/openllmetry0 reactions
- Mar 1, 2025Add support for Pandas styler tooltips to st.table — augment-test-org/openllmetry0 reactions
- Jan 26, 2025OpenLLMetry — amphitheatre-app/catalog0 reactions
- Dec 19, 2024Feature: instrument anthropic's beta endpoints too — traceloop/openllmetry-js0 reactions
- Sep 4, 2024Instrumentation of the Device Assistant — observability-lab-cse/observability-lab0 reactions
- Apr 3, 2024🚀 Feature: OpenTelemetry Metrics — traceloop/openllmetry-js0 reactions · 4 comments
On Bluesky · 2
- Feb 20, 2026https://github.com/traceloop/openllmetry — @tom-doerr.bsky.social1 likes and repost
- Dec 16, 2025ok so this seems pretty doable: there's some crazy good instrumentation out there to dump session data & stuff INTO otel. openllmetry is… — @jauntywunderkind.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Oct 11, 2023Show HN: OpenLLMetry – OpenTelemetry-based observability for LLMs154 points · 31 comments
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 30
All packages use uv as the package manager.
- Distinctive: line 61
Never commit secrets or PII.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenLLMetry Repository Guide
Repository Structure
This repository contains multiple PyPI-publishable packages organized and orchestrated using Nx workspace management.
Nx Workspace Commands
# Run tests across all packages
nx run-many -t test
# Run linting across all packages
nx run-many -t lint
# Update lock files across all packages
nx run-many -t lock
# Run specific targets on specific packages
nx run <package-name>:test
nx run <package-name>:lint
# Show project graph
nx graph
# Show what's affected by changes
nx affected:test
nx affected:lintPackage Management
All packages use uv as the package manager. Always execute commands through uv:
uv run <command>Testing with VCR Cassettes
Tests utilize VCR cassettes for API calls.
Commands
# Run tests normally (uses existing cassettes)
uv run pytest tests/
# Re-record all cassettes (requires API keys)
uv run pytest tests/ --record-mode=all
# Record only new test episodes
uv run pytest tests/ --record-mode=new_episodes
# Record cassettes once (if they don't exist)
uv run pytest tests/ --record-mode=once
# Run tests without recording (fails if cassettes missing)
uv run pytest tests/ --record-mode=none
# Run specific test files
uv run pytest tests/test_agents.py --record-mode=onceGuidance
Re-record cassettes when API interactions change to ensure test accuracy. Never commit secrets or PII. Scrub them using VCR filters (e.g., filter_headers, before_record) or your test framework's equivalent. Store API keys only in environment variables/secure vaults; never in code or cassettes. Typical record modes you may use: once, new_episodes, all, none (choose per test needs). Creating new cassettes requires valid API keys (OpenAI, Anthropic, etc.); ask the user to provide them if needed.
Debugging with Console Span Exporter
For debugging OpenTelemetry spans and hierarchy issues, use the console exporter:
from opentelemetry.sdk.trace.export import ConsoleSpanExporter
from traceloop.sdk import Traceloop
Traceloop.init(
app_name="debug-app",
exporter=ConsoleSpanExporter(),
# other config...
)This outputs all spans to console in JSON format, showing trace IDs, span IDs, parent relationships, and attributes for debugging span hierarchy issues.
Semantic Conventions
The semantic convention package follows the OpenTelemetry GenAI specification: https://opentelemetry.io/docs/specs/semconv/gen-ai/
Instrumentation Packages
Instrumentation packages should leverage the semantic conventions package. Their purpose is to instrument AI-related libraries and generate spans and tracing data compliant with OpenTelemetry semantic conventions.
Code Quality
Ruff is used for code linting. Configuration is in each package's pyproject.toml under [tool.ruff].
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

