opentelemetry-instrumentation-weaviate
OpenTelemetry Weaviate instrumentation
What it is and what it does
This package integrates Weaviate vector database client calls into OpenTelemetry's distributed tracing infrastructure. When installed and initialized, it automatically captures spans for operations sent to Weaviate through the official Weaviate Python client library, allowing you to observe and debug client-side behavior within your broader observability stack.
It's designed for teams already using OpenTelemetry for application tracing who need visibility into vector database interactions. The instrumentation hooks into the Weaviate client and emits traces using OpenTelemetry's semantic conventions for AI operations, integrating seamlessly with existing tracing backends (Jaeger, Datadog, etc.) without requiring changes to your Weaviate client code.
Use it for:
- Debug slow or failing Weaviate queries by correlating them with application traces in a distributed tracing backend.
- Monitor vector database latency and error rates as part of your application's observability pipeline.
- Trace end-to-end requests through a microservice architecture that includes Weaviate lookups.
- Analyze Weaviate client behavior in production without modifying application code beyond one initialization call.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds distributed tracing to Weaviate vector database client calls using OpenTelemetry, capturing spans for observability of client-side operations.
Yes, if you are already using OpenTelemetry for application tracing and need visibility into Weaviate client operations. The package is actively maintained, has no known vulnerabilities, and integrates cleanly with standard observability infrastructure. Install it only if your observability strategy already includes OpenTelemetry; it adds no value in isolation.
Install
opentelemetry-instrumentation-weaviate on PyPI
pip
pip install opentelemetry-instrumentation-weaviateuv
uv add opentelemetry-instrumentation-weaviatepoetry
poetry add opentelemetry-instrumentation-weaviateInstalling opentelemetry-instrumentation-weaviate
Before you install
Low friction installation with a pure-Python wheel. Maintained actively with recent releases; last commit 2026-08-10. Depends on four OpenTelemetry packages (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, opentelemetry-semantic-conventions), all standard observability infrastructure.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in proprietary and open-source projects with minimal restrictions beyond attribution.
Quickstart
pip install opentelemetry-instrumentation-weaviate
from opentelemetry.instrumentation.weaviate import WeaviateInstrumentor
WeaviateInstrumentor().instrument()
Requires Python 3.10 or later. Assumes you have already configured an OpenTelemetry tracer provider and exporter in your application.
Verify before relying
- Whether this instrumentation works with all Weaviate client versions or has specific compatibility constraints.
- Performance overhead of tracing on typical Weaviate 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,815,561/month — #1,843 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_weaviate-0.62.3-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-chromadbAdds distributed tracing to Chroma vector…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-qdrantAdds distributed tracing to Qdrant vector…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-milvusAdds distributed tracing to Milvus vector…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-lancedbAdds distributed tracing instrumentation for…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pineconeAdds distributed tracing to Pinecone vector…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-marqoAdds OpenTelemetry tracing to client-side calls…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-ollamaAdds distributed tracing to Ollama Python…
permissive · top 5,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-cassandraAdds distributed tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-sklearnAdds distributed tracing instrumentation to…
permissive · top 15,000 on PyPI