chatbot | File "/usr/src/chatbot/app/libs/otel.py", line 144, in init_otel_instrumentation
chatbot | QdrantInstrumentor().instrument(tracer_provider=otel_provider)
chatbot | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
chatbot | File "/usr/src/chatbot/.venv/lib/python3.13/site-packages/opentelemetry/instrumentation/instrumentor.py", line 125, in instrument
chatbot | result = self._instrument( # pylint: disable=assignment-from-no-return
chatbot | **kwargs
chatbot | )
chatbot | File "/usr/src/chatbot/.venv/lib/python3.13/site-packages/opentelemetry/instrumentation/qdrant/__init__.py", line 55, in _instrument
chatbot | wrap_function_wrapper(
chatbot | ~~~~~~~~~~~~~~~~~~~~~^
chatbot | MODULE,
chatbot | ^^^^^^^
chatbot | f"{wrap_object}.{wrap_method}",
chatbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
chatbot | _wrap(tracer, wrapped_method),
chatbot | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
chatbot | )
chatbot | ^
chatbot | File "/usr/src/chatbot/.venv/lib/python3.13/site-packages/wrapt/patches.py", line 114, in wrap_function_wrapper
chatbot | return wrap_object(module, name, FunctionWrapper, (wrapper,))
chatbot | File "/usr/src/chatbot/.venv/lib/python3.13/site-packages/wrapt/patches.py", line 60, in wrap_object
chatbot | (parent, attribute, original) = resolve_path(module, name)
chatbot | ~~~~~~~~~~~~^^^^^^^^^^^^^^
chatbot | File "/usr/src/chatbot/.venv/lib/python3.13/site-packages/wrapt/patches.py", line 52, in resolve_path
chatbot | original = lookup_attribute(parent, attribute)
chatbot | File "/usr/src/chatbot/.venv/lib/python3.13/site-packages/wrapt/patches.py", line 44, in lookup_attribute
chatbot | return getattr(parent, attribute)
chatbot | AttributeError: type object 'QdrantClient' has no attribute 'upload_records'
I have just upgraded
qdrant-clienttov1.16.1and withopentelemetry-insturmentation-qdrantofv0.48.1I am getting attribute error. Traceback:Apparently,
upload_recordsis no longer a method ofQdrantClient, maybe some other methods are missing, I haven't checked that