You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've instrumented my indexing code with openllmetry; when submitting batches on the ThreadPoolExecutor the context (used by otel to propagate trace) isn't being passed:
# do not block the thread - the results are written to a central (locked) list and we want to have multiple concurrent batch-requestsctx=contextvars.copy_context()
self.__executor.submit(
ctx.run,
functools.partial(self.__send_batch, objs, refs, readd_rate_limit=isinstance(self.__batching_mode, _RateLimitedBatching)),
)
The text was updated successfully, but these errors were encountered:
I've instrumented my indexing code with openllmetry; when submitting batches on the ThreadPoolExecutor the context (used by otel to propagate trace) isn't being passed:
weaviate-python-client/weaviate/collections/batch/base.py
Line 328 in 5f8ef1a
following is suggested fix:
The text was updated successfully, but these errors were encountered: