-
Notifications
You must be signed in to change notification settings - Fork 637
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
Update __init__.py #1205 #1238
base: main
Are you sure you want to change the base?
Update __init__.py #1205 #1238
Conversation
@@ -138,7 +138,7 @@ def _instrument(self, **kwargs): | |||
response_hook = kwargs.get("response_hook") | |||
_wrap( | |||
elasticsearch, | |||
"Transport.perform_request", | |||
"AsyncTransport.perform_request", |
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.
This is not the right solution.
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.
Yes working on the rest of the code. thanks for keeping an eye on this.
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.
Please convert this to draft if it's not ready for reviews yet.
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.
Do we need to add support for AsyncTransport ?
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.
That is the feature request. Did you read the issue? You don't replace one with other. And there should be tests.
@rahuldimri, what does this do? are still working on this? |
Description
Add instrumentation of AsyncTransport
Fixes #1205
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.