Attempting to query for very large date ranges using the Toolviews API can fail with a 502 response, for example /api/v1/daily/2018-05-02/2023-05-01.
In my testing, going anywhere beyond a one-year range can be very slow or crash.
For T87001: Provide basic page view metrics for individual tools on toolforge, I can simply set a max date range clientside, or make multiple calls and concatenate the data together, but I imagine a some limitation should be imposed in the API itself.