Closed nicoloboschi closed 2 weeks ago
💚 CLA has been signed
A documentation preview will be available soon.
buildkite test this please
Thank you for your contribution, it is now released as part of 8.16.0: https://github.com/elastic/elasticsearch-py/releases/tag/v8.16.0
otel dependency is optional but if I try to use latest elastic client it fails to bootstrap due to
Fix
While is usually correct to catch
ModuleNotFoundError
, in case of opentelemetry this is a bit different since the actual "opentelemetry" package doesn't exist at all (we got opentelemetry-api and opentelemetry-sdk) and in that case Python (3.11 in my case) throws a more generic ImportError