def METHOD_NAME(self, req, resp, resource, req_succeeded=None):
    # req_succeded is not a kwarg in the API, but we need that to support
    # Falcon 1.0 that doesn't provide this argument
    span = self.tracer.current_span()
    if not span:
        return  # unexpected
    status = resp.status.partition(" ")[0]
    # falcon does not map errors or unmatched routes
    # to proper status codes, so we have to try to infer them
    # here.
    if resource is None:
        status = "404"
        span.resource = "%s 404" % req.method
        span.set_tag(httpx.STATUS_CODE, status)
        span.finish()
        return
    err_type = sys.exc_info()[0]
    if err_type is not None:
        if req_succeeded is None:
            # backward-compatibility with Falcon 1.0; any version
            # greater than 1.0 has req_succeded in [True, False]
            # TODO[manu]: drop the support at some point
            status = _detect_and_set_status_error(err_type, span)
        elif req_succeeded is False:
            # Falcon 1.1+ provides that argument that is set to False
            # if get an Exception (404 is still an exception)
            status = _detect_and_set_status_error(err_type, span)
    trace_utils.set_http_meta(span, config.falcon, status_code=status, response_headers=resp._headers)
    # Emit span hook for this response
    # DEV: Emit before closing so they can overwrite `span.resource` if they want
    config.falcon.hooks.emit("request", span, req, resp)
    # Close the span
    span.finish()