GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - traceloop/openllmetry: Open-source observability for your GenAI or LLM application, based on OpenTelemetry

BranchesTags
Open more actions menu

Latest commit

 

History

1,437 Commits
1,437 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
img
img
 
 
packages
packages
 
 
scripts
scripts
 
 
.cz.toml
.cz.toml
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
GOVERNANCE.md
GOVERNANCE.md
 
 
LICENSE
LICENSE
 
 
MAINTAINERS.md
MAINTAINERS.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
nx.json
nx.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Open-source observability for your LLM application

Get started ยป

Slack | Docs | Website

OpenLLMetry is released under the Apache-2.0 License git commit activity PRs welcome! Slack community channel Traceloop Twitter

๐ŸŽ‰ New: Our semantic conventions are now part of OpenTelemetry! Join the discussion and help us shape the future of LLM observability.

Looking for the JS/TS version? Check out OpenLLMetry-JS.

OpenLLMetry is a set of extensions built on top of OpenTelemetry that gives you complete observability over your LLM application. Because it uses OpenTelemetry under the hood, it can be connected to your existing observability solutions - Datadog, Honeycomb, and others.

It's built and maintained by Traceloop under the Apache 2.0 license.

The repo contains standard OpenTelemetry instrumentations for LLM providers and Vector DBs, as well as a Traceloop SDK that makes it easy to get started with OpenLLMetry, while still outputting standard OpenTelemetry data that can be connected to your observability stack. If you already have OpenTelemetry instrumented, you can just add any of our instrumentations directly.

๐Ÿš€ Getting Started

The easiest way to get started is to use our SDK. For a complete guide, go to our docs.

Install the SDK:

pip install traceloop-sdk

Then, to start instrumenting your code, just add this line to your code:

from traceloop.sdk import Traceloop

Traceloop.init()

That's it. You're now tracing your code with OpenLLMetry! If you're running this locally, you may want to disable batch sending, so you can see the traces immediately:

Traceloop.init(disable_batch=True)

โซ Supported (and tested) destinations

  • โœ… Traceloop
  • โœ… Axiom
  • โœ… Azure Application Insights
  • โœ… Braintrust
  • โœ… Dash0
  • โœ… Datadog
  • โœ… Dynatrace
  • โœ… Google Cloud
  • โœ… Grafana
  • โœ… Highlight
  • โœ… Honeycomb
  • โœ… HyperDX
  • โœ… IBM Instana
  • โœ… KloudMate
  • โœ… Laminar
  • โœ… New Relic
  • โœ… OpenTelemetry Collector
  • โœ… Oracle Cloud
  • โœ… Scorecard
  • โœ… Service Now Cloud Observability
  • โœ… SigNoz
  • โœ… Sentry
  • โœ… Splunk
  • โœ… Tencent Cloud

See our docs for instructions on connecting to each one.

๐Ÿช— What do we instrument?

OpenLLMetry can instrument everything that OpenTelemetry already instruments - so things like your DB, API calls, and more. On top of that, we built a set of custom extensions that instrument things like your calls to OpenAI or Anthropic, or your Vector DB like Chroma, Pinecone, Qdrant or Weaviate.

  • โœ… Aleph Alpha
  • โœ… Anthropic
  • โœ… Bedrock (AWS)
  • โœ… Cohere
  • โœ… Google Generative AI (Gemini)
  • โœ… Groq
  • โœ… HuggingFace
  • โœ… IBM Watsonx AI
  • โœ… Mistral AI
  • โœ… Ollama
  • โœ… OpenAI / Azure OpenAI
  • โœ… Replicate
  • โœ… SageMaker (AWS)
  • โœ… Together AI
  • โœ… Vertex AI (GCP)
  • โœ… WRITER

Vector DBs

  • โœ… Chroma
  • โœ… LanceDB
  • โœ… Marqo
  • โœ… Milvus
  • โœ… Pinecone
  • โœ… Qdrant
  • โœ… Weaviate

Frameworks

  • โœ… Agno
  • โœ… AWS Strands (built-in OTEL support)
  • โœ… CrewAI
  • โœ… Haystack
  • โœ… LangChain
  • โœ… Langflow
  • โœ… LangGraph
  • โœ… LiteLLM
  • โœ… LlamaIndex
  • โœ… OpenAI Agents

Protocol

  • โœ… MCP

๐Ÿ”Ž Telemetry

We no longer log or collect any telemetry in the SDK or in the instrumentations. Make sure to bump to v0.49.2 and above.

Why we collect telemetry

  • The primary purpose is to detect exceptions within instrumentations. Since LLM providers frequently update their APIs, this helps us quickly identify and fix any breaking changes.
  • We only collect anonymous data, with no personally identifiable information. You can view exactly what data we collect in our Privacy documentation.
  • Telemetry is only collected in the SDK. If you use the instrumentations directly without the SDK, no telemetry is collected.

๐ŸŒฑ Contributing

Whether big or small, we love contributions โค๏ธ Check out our guide to see how to get started.

Not sure where to get started? You can:

  • Book a free pairing session with one of our teammates!
  • Join our Slack, and ask us any questions there.

๐Ÿ’š Community & Support

  • Slack (For live discussion with the community and the Traceloop team)
  • GitHub Discussions (For help with building and deeper conversations about features)
  • GitHub Issues (For any bugs and errors you encounter using OpenLLMetry)
  • Twitter (Get news fast)

๐Ÿ™ Special Thanks

To @patrickdebois, who suggested the great name we're now using for this repo!

๐Ÿ’ซ Contributors

contributors

About

Open-source observability for your GenAI or LLM application, based on OpenTelemetry

www.traceloop.com/openllmetry

Topics

artifical-intelligencedatasciencegenerative-aigood-first-issuegood-first-issueshelp-wantedllmllmopsmetricsmlmodel-monitoringmonitoringobservabilityopen-sourceopen-telemetryopentelemetryopentelemetry-pythonpython

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

7.5k stars

Watchers

20 watching

Forks

1.2k forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.