respan-instrumentation-weaviate
Respan instrumentation for the Weaviate Python client v4. It emits canonical task spans for synchronous and asynchronous collection lifecycle, data, reference, vector and keyword query, aggregate, config, batch, and tenant operations.
Install
pip install respan-ai respan-instrumentation-weaviate "weaviate-client>=4.23.0,<5"
Quickstart
import weaviate
from weaviate.classes.config import Configure
from respan import Respan, workflow
from respan_instrumentation_weaviate import WeaviateInstrumentor
respan = Respan(instrumentations=[WeaviateInstrumentor()])
@workflow(name="weaviate_vector_query_workflow")
def run_query():
client = weaviate.connect_to_local()
collection = client.collections.create(
"RespanDocs",
vector_config=Configure.Vectors.self_provided(),
)
collection.data.insert(
{"text": "Respan traces vector-store operations."},
vector=[0.1, 0.2, 0.3],
)
result = collection.query.near_vector(
near_vector=[0.1, 0.2, 0.3],
limit=1,
)
client.close()
return result
print(run_query())
respan.shutdown()
Pass capture_content=False to omit operation arguments and results while
retaining names, status, and database attributes. Activation/deactivation and
the instrument() / uninstrument() aliases are idempotent.
The adapter targets weaviate-client>=4.23.0,<5 and its v4 collection API.
Generative search calls are left to an LLM-specific integration because they require chat
semantics rather than vector-store task semantics.
See respan-example-projects/python/tracing/weaviate for runnable sync, async,
batch, aggregate, query, mutation, and deterministic error examples.
Metadata
Release files for respan-instrumentation-weaviate 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| respan_instrumentation_weaviate-0.1.1.tar.gz | 8.0 kB | Without provenance | Details for respan_instrumentation_weaviate-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| respan_instrumentation_weaviate-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for respan_instrumentation_weaviate-0.1.1-py3-none-any.whl |
Total release size: 16.9 kB
Release files / respan_instrumentation_weaviate-0.1.1.tar.gz
| Download URL | respan_instrumentation_weaviate-0.1.1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4f3f36052794e78dec216a108943a66c1a3b56cd99812e15cc2af6e6e0b7b47
|
|
BLAKE2b-256 checksum How to use checksums |
cbaeeb7f12e7ad38869e5f168f0a3a7edfc7d4e8f2774165514420cfe2627504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / respan_instrumentation_weaviate-0.1.1-py3-none-any.whl
| Download URL | respan_instrumentation_weaviate-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b5ffec2f77119277ec950aeb8a0859de0fccd2c835efad2820882c67fa6d2e8
|
|
BLAKE2b-256 checksum How to use checksums |
886cd4f2879f860140b7072bd73434c550886715fe5c219ddd368432abd94703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for respan-instrumentation-weaviate 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.