skillfed

opentelemetry-instrumentation-chromadb

OpenTelemetry Chroma DB instrumentation

opentelemetry-instrumentation-chromadb v0.62.3 6.9M downloads/30d#1,828 on PyPI7,377
Permissive license Apache-2.0 Active released

What it is and what it does

This package is an OpenTelemetry instrumentation plugin that automatically captures tracing data from Chroma vector database client calls. It wraps the official Chroma library to emit spans compatible with OpenTelemetry's distributed tracing ecosystem, allowing you to observe and debug interactions with Chroma in production systems.

You activate it by calling `ChromaInstrumentor().instrument()` early in your application startup. Once enabled, all subsequent Chroma client operations generate traces that flow into your configured OpenTelemetry exporters (e.g., Jaeger, Datadog, or other APM backends). It depends on opentelemetry-api, opentelemetry-instrumentation, and semantic convention packages to standardize how Chroma operations are represented in traces.

Use it for:

  • Debug slow or failing Chroma queries by viewing detailed traces in an APM dashboard
  • Monitor vector database latency and error rates across your application in production
  • Correlate Chroma operations with other service calls in a distributed system trace
  • Audit which vector operations are being performed and by which code paths
  • Integrate Chroma observability into existing OpenTelemetry-based monitoring infrastructure

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds distributed tracing to Chroma vector database client calls using OpenTelemetry, capturing spans for observability.

Yes, if you are already using OpenTelemetry for observability and need visibility into Chroma client calls. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a straightforward addition to tracing-enabled applications. Not necessary if you have no observability requirements or are not using OpenTelemetry.

Install

opentelemetry-instrumentation-chromadb on PyPI

pip

pip install opentelemetry-instrumentation-chromadb

uv

uv add opentelemetry-instrumentation-chromadb

poetry

poetry add opentelemetry-instrumentation-chromadb

Installing opentelemetry-instrumentation-chromadb

Before you install

Low friction install with a small, focused dependency tree. Actively maintained as of 2026-08-10 with recent releases.

License in practice

Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions.

Quickstart

pip install opentelemetry-instrumentation-chromadb

from opentelemetry.instrumentation.chromadb import ChromaInstrumentor

ChromaInstrumentor().instrument()

Requires Python 3.10 or later and an OpenTelemetry exporter configured to receive traces.

Verify before relying

  • Whether this package supports all Chroma API operations or only a subset of client calls
  • Compatibility with Chroma versions beyond the implicit support of the instrumentation design
  • Performance overhead of instrumentation on typical Chroma query workloads

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<4,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, opentelemetry-semantic-conventions
Maintenance actively maintained — 4 days since the last release
Last repo commit
First released
Downloads 6,873,685/month — #1,828 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: opentelemetry_instrumentation_chromadb-0.62.3-py3-none-any.whl

Tags

opentelemetry chroma tracingvector database instrumentationchroma db observabilitydistributed tracing chromadbopentelemetry vector dbchroma client tracingtelemetry chromadb calls
observabilityvector-dbtracing

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-pinecone

Adds distributed tracing to Pinecone vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-weaviate

Adds distributed tracing to Weaviate vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-milvus

Adds distributed tracing to Milvus vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-qdrant

Adds distributed tracing to Qdrant vector…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-lancedb

Adds distributed tracing instrumentation for…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-marqo

Adds OpenTelemetry tracing to client-side calls…

permissive · top 5,000 on PyPI

chromadb-client

HTTP client library for connecting to a Chroma…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-cassandra

Adds distributed tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-ollama

Adds distributed tracing to Ollama Python…

permissive · top 5,000 on PyPI

chromadb

Chroma is a vector database and search…

permissive · top 5,000 on PyPI