-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Updated Elasticsearch instrumentation to only register on v7.13.0+ #1816
Conversation
…oop for earlier Signed-off-by: mrickard <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments and questions. Nice tracking this down!
Codecov Report
@@ Coverage Diff @@
## main #1816 +/- ##
=======================================
Coverage 96.83% 96.83%
=======================================
Files 199 200 +1
Lines 38959 38994 +35
=======================================
+ Hits 37724 37759 +35
Misses 1235 1235
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…ve. Consolidated supported versioned tests to one file Signed-off-by: mrickard <[email protected]>
Signed-off-by: mrickard <[email protected]>
Signed-off-by: mrickard <[email protected]>
Signed-off-by: mrickard <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions, getting close though
…densed assignments Signed-off-by: mrickard <[email protected]>
Added semver check to noop for ElasticSearch prior to v7.13.0.
Added defensive check on body and bulkBody params.
Added tests to verify ElasticSearch v7.13.0 and later coverage.
How to Test
npm run versioned elastic
Related Issues
Closes #1809
Closes NR-170194.