[Elastic Search] Fix sanitization for bulk queries#1990
[Elastic Search] Fix sanitization for bulk queries#1990GilTeixeira wants to merge 12 commits intoopen-telemetry:mainfrom
Conversation
|
@GilTeixeira please add at least one test case for this changes :V: |
|
This is blocking our upgrade to opentelemetry, could somebody please review and merge this? |
|
@ocelotl I added a test. And this works with |
srikanthccv
left a comment
There was a problem hiding this comment.
But this will still throw an exception with elasticsearch<=7.x .... I am not sure what to do in these cases
Inspect the version of the elasticsearch (import VERSION from elasticsearch) and use appropriate logic for sanitization. Something like
|
@srikanthccv I think you forgot to add the suggestion 😛 |
|
Would be great to have the final steps to be taken soon, thanks 🙏 |
|
Looks like this has been addressed by #2355 and this PR can be now closed |
|
Thanks @oliverholworthy. Please check with the latest release and close if it fixes your issue @GilTeixeira |
|
That's it, good work 🚀 |
|
Thanks a lot 🙏 👍 |
Description
Fix sanitization for bulk queries for newer versions (>7.x). Continues the work of #1870
Fixes #1868
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Currently it fails with this traceback:
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.