Skip to content

Commit

Permalink
Fix typo in sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
Funk66 committed May 3, 2024
1 parent 1ee7261 commit 65192f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ def client_request_hook(span, request):
# will be called after a outgoing request made with
# `tornado.httpclient.AsyncHTTPClient.fetch` finishes.
# `response`` is an instance of ``Future[tornado.httpclient.HTTPResponse]`.
def client_resposne_hook(span, future):
def client_response_hook(span, future):
pass
# apply tornado instrumentation with hooks
TornadoInstrumentor().instrument(
server_request_hook=server_request_hook,
client_request_hook=client_request_hook,
client_response_hook=client_resposne_hook
client_response_hook=client_response_hook
)
Capture HTTP request and response headers
Expand Down

0 comments on commit 65192f4

Please sign in to comment.