Skip to content

Commit

Permalink
Merge branch 'main' into httpx-remote-url-credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Dec 22, 2023
2 parents bbd2203 + d7cc194 commit b1a9be7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def response_hook(span: Span, status: str, response_headers: List):
if span and span.is_recording():
span.set_attribute("custom_user_attribute_from_response_hook", "some-value")
FlaskInstrumentation().instrument(request_hook=request_hook, response_hook=response_hook)
FlaskInstrumentor().instrument(request_hook=request_hook, response_hook=response_hook)
Flask Request object reference: https://flask.palletsprojects.com/en/2.1.x/api/#flask.Request
Expand Down

0 comments on commit b1a9be7

Please sign in to comment.