Skip to content

Commit

Permalink
Make Falcon instrumentation compatible with Falcon >=3
Browse files Browse the repository at this point in the history
Replace falcon.api.Request -> falcon.Request which exists on both Falcon 2 & 3
  • Loading branch information
adriangb authored Jul 27, 2021
1 parent a04fb0e commit d69fe14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def response_hook(span, req, resp):

_excluded_urls = get_excluded_urls("FALCON")
_traced_request_attrs = get_traced_request_attrs("FALCON")
_response_propagation_setter = FuncSetter(falcon.api.Response.append_header)
_response_propagation_setter = FuncSetter(falcon.Response.append_header)


class FalconInstrumentor(BaseInstrumentor):
Expand Down

0 comments on commit d69fe14

Please sign in to comment.