I have been struggling to have a graph in grafana which shows number of events per x units of time, like 1min,5min, 30secs etc. Just to give an idea what I am looking for, please see following image:
I want to have a graph which shows time slots(like for 5 min slots, 5.30-5.35, 5.35-5.40, so on....) on X axis and Y axis shows events per time slot.
I have configured a counter and I can use prometheus's increase function to find delta of events over a period of time(say 1m) as:
increase(mycounter[1m])
But the graph generated is not like what I want. It gives more of an average of the increase over time windows, not the exact increase in each of the time window.
Can this be achieved?
