Instance stats: fetch data points within a date range

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

As a follow up to #268000 (closed) we should update the instance usage trends charts FE requests to make use of date ranges for determining the amount of data that needs to be fetched.

Implementation guide

Improvements

Currently we need to calculate the number data points to fetch on the FE as well as tracking how many we have fetched, this change will allow us to simply query for all data within the specified date range.

Edited by 🤖 GitLab Bot 🤖