Add metrics on controller actions.