I have a Grafana chart that makes use of the sum_over_time(data_source[$__interval]) and count_over_time(data_source[$__interval]) command in Prometheus. Normally, it is working fine.
But, the commands don t run correctly when I set time range to a moment in the past, for example from now-3h to now-2h. For that example, the $__interval in the command become 1h and the commands roll for data from 1 hour ago to now, which is not what I intended.
Is there any way to archieve that time range in Prometheus? Please help!