Skip to content

v1.0.5 - Qdrant deprecated search wrap fix

Choose a tag to compare

@Mandark-droid Mandark-droid released this 22 Apr 05:48
· 21 commits to main since this release

Fixed

  • Qdrant instrumentor: avoid wrapping deprecated search method - When both query_points (qdrant-client 1.10+) and the legacy search method exist, only query_points is wrapped. The legacy search method emits a DeprecationWarning on invocation and was removed entirely in qdrant-client 1.16+, which produced startup log noise and AttributeErrors for downstream applications. search is still wrapped as a fallback on older clients where query_points is unavailable. Wrap calls are additionally guarded against AttributeError/ImportError to survive future SDK changes silently.

Affected file: genai_otel/mcp_instrumentors/vector_db_instrumentor.py