Skip to content

Commit d69fe14

Browse files
authored
Make Falcon instrumentation compatible with Falcon >=3
Replace falcon.api.Request -> falcon.Request which exists on both Falcon 2 & 3
1 parent a04fb0e commit d69fe14

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def response_hook(span, req, resp):
126126

127127
_excluded_urls = get_excluded_urls("FALCON")
128128
_traced_request_attrs = get_traced_request_attrs("FALCON")
129-
_response_propagation_setter = FuncSetter(falcon.api.Response.append_header)
129+
_response_propagation_setter = FuncSetter(falcon.Response.append_header)
130130

131131

132132
class FalconInstrumentor(BaseInstrumentor):

0 commit comments

Comments
 (0)