Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _instrument(self, **kwargs):
response_hook = kwargs.get("response_hook")
_wrap(
elasticsearch,
"Transport.perform_request",
"AsyncTransport.perform_request",
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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.

Copy link
Contributor Author

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 ?

Copy link
Member

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.

_wrap_perform_request(
tracer, self._span_name_prefix, request_hook, response_hook
),
Expand Down