Change the route for the first api method to /api/metrics/