I did this before and cade mentioned that I should do separate routes each one (see comment below):
>>>cadecairos repo collab 17 days ago
>>>Do each of the routes separately.
>>>/metrics/makes
>>>/metrics/makes/day
>>>/metrics/makes/week
>>>etc.
>>>define the request handlers for each one in a file in /routes (metrics.js feels appropriate)