respan-instrumentation-qdrant
Respan instrumentation for synchronous and asynchronous
qdrant-client operations. It emits
canonical Respan task spans for collection management, point writes, payload
updates, retrieval, filtering, vector queries, facets, snapshots, and cluster
administration.
Install
pip install respan-ai respan-instrumentation-qdrant qdrant-client
Quickstart
from qdrant_client import QdrantClient, models
from respan import Respan, workflow
from respan_instrumentation_qdrant import QdrantInstrumentor
respan = Respan(instrumentations=[QdrantInstrumentor()])
@workflow(name="qdrant_local_query_workflow")
def run_query():
client = QdrantClient(":memory:")
client.create_collection(
"docs",
vectors_config=models.VectorParams(
size=3,
distance=models.Distance.COSINE,
),
)
client.upsert(
"docs",
points=[models.PointStruct(id=1, vector=[0.1, 0.2, 0.3])],
)
return client.query_points(
"docs",
query=[0.1, 0.2, 0.3],
limit=1,
)
print(run_query())
respan.shutdown()
QdrantInstrumentor(capture_content=False) keeps operation names, status, and
database attributes while omitting request and response bodies. Activation and
deactivation are idempotent, and instrument() / uninstrument() aliases are
also available.
See respan-example-projects/python/tracing/qdrant for collection, point,
query, async, and deterministic error examples.
Metadata
Release files for respan-instrumentation-qdrant 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_qdrant-0.1.1.tar.gz | 8.4 kB | Without provenance | Details for respan_instrumentation_qdrant-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| respan_instrumentation_qdrant-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for respan_instrumentation_qdrant-0.1.1-py3-none-any.whl |
Total release size: 18.2 kB
Release files / respan_instrumentation_qdrant-0.1.1.tar.gz
| Download URL | respan_instrumentation_qdrant-0.1.1.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c18f11dcb84fb8b9bfd54bf0f5eab1d585f3c8d4232fc347f2d30f7cd5ccc835
|
|
BLAKE2b-256 checksum How to use checksums |
787fced8ea073ba890e623cba2e2ba55f3ad4da40c2e349dae86c853f9afa578
|
| 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_qdrant-0.1.1-py3-none-any.whl
| Download URL | respan_instrumentation_qdrant-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdf7c88f4ac5f676038a2be2bb686e998cc39a0629bf4b9511e4e7a624b3dd22
|
|
BLAKE2b-256 checksum How to use checksums |
074e6f62ad2f31b56f0406e317ffaadc458f867fb2dd2cdc4f3a0aa43e752240
|
| 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-qdrant 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.