def wrap_view_func(self, app, rule, req, view_func, view_kwargs):
        """ This method is called just before the flask view is called.
        This is done by the dispatch_request method.
        """
        operation = view_func.__module__ + "." + view_func.__name__
        return self.trace_view_function(
            view_func, ("Controller", {"path": req.path, "name": operation})
        )
This method is called just before the flask view is called.
        This is done by the dispatch_request method.