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
align elasticsearch body capturing with other agents #1013
align elasticsearch body capturing with other agents #1013
Conversation
See elastic/apm#55 This also allows us to get rid of a hack we used to pass the API method and an unserialized version of the body to the instrumentation. Neither is used anymore, so we can skip that part of the instrumentation. This does also mean that we stop capturing the body for some methods, specifically `update` and `delete_by_query`. closes elastic#419
@basepi @felixbarny I guess strictly speaking this could constitute a backwards incompatible change, so I vote for including this in 6.0, not 5.10.1. What do you think? |
@trentm has been advocating for having the list of endpoints that we capture bodies for be configurable.
Would the backwards compatibility be remained if you just included For these things, I sometimes struggle to find a clear border of what's considered backwards incompatible. In general, I think we should be able to fine-tune the amount of data we collect without having to major-bump the agent version. |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
@felixbarny 6.0 isn't very far away, probably just a couple of weeks. As for including those two endpoints, at least for |
ah, nvm then |
using params=None never made sense here
* align elasticsearch body capturing with other agents See elastic/apm#55 This also allows us to get rid of a hack we used to pass the API method and an unserialized version of the body to the instrumentation. Neither is used anymore, so we can skip that part of the instrumentation. This does also mean that we stop capturing the body for some methods, specifically `update` and `delete_by_query`. closes elastic#419 * fix test code using params=None never made sense here * update path matching regex to align with Node.js agent * Add CHANGELOG Co-authored-by: Colton Myers <colton.myers@gmail.com>
See elastic/apm#55
This also allows us to get rid of a hack we used to pass the API method
and an unserialized version of the body to the instrumentation. Neither
is used anymore, so we can skip that part of the instrumentation.
This does also mean that we stop capturing the body for some methods,
specifically
update
anddelete_by_query
.closes #419