My application contains some counter which always increase and never being reset.
I use prometheus together with grafana. What I need is to show counter changes related to each day, another words I need to take data of counter from midnight till now. So for instance I could see the month graph and check how counter was changed every day.
In grafana I use promql queries and I have this query
It works good, but it can handle the data from previous days, which doesn't fit me.
What I would like to have is something like increase(Counter[from 'midnight' - to 'now']), but I'm not sure how to build such query.

