Added /tutorial/api/metrics/ endpoint for stats.