Skip to content

Commit 81fd1ff

Browse files
authored
Update __init__.py
1 parent 7625b82 commit 81fd1ff

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-elasticsearch/src/opentelemetry/instrumentation/elasticsearch

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-elasticsearch/src/opentelemetry/instrumentation/elasticsearch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _instrument(self, **kwargs):
138138
response_hook = kwargs.get("response_hook")
139139
_wrap(
140140
elasticsearch,
141-
"Transport.perform_request",
141+
"AsyncTransport.perform_request",
142142
_wrap_perform_request(
143143
tracer, self._span_name_prefix, request_hook, response_hook
144144
),

0 commit comments

Comments
 (0)