Weaviate (tracing)
Weaviate (tracing)
Weaviate is an open-source vector database that stores objects and vectors and supports vector, BM25, and hybrid retrieval. The Respan-owned Weaviate instrumentation traces the Python v4 collection API across synchronous and asynchronous clients and supports weaviate-client>=4.22.0,<5.
Set up Respan
Create an account at platform.respan.ai and grab an API key.
Run npx @respan/cli setup to set up with your coding agent.
Example projects
Tracing
Setup
Set environment variables
RESPAN_API_KEY exports traces to Respan. The quickstart expects a local Weaviate instance on HTTP port 8080 and gRPC port 50051.
View your trace
Open the Traces page and search for workflow name weaviate_data_and_queries_workflow.
Covered operations
The instrumentor covers Weaviate v4 collection lifecycle, object and reference mutations, vector, BM25, and hybrid queries, aggregates, collection configuration, batch writes, tenants, and matching asynchronous managers. Generative search is not mapped as a vector-database task because it requires separate LLM chat semantics.
Content capture
Operation arguments and results are captured by default. Disable them when vectors, object properties, or query results should not be attached to spans:
Operation names, status, and database attributes remain available when content capture is disabled.