How can i get a quantity distribution by hour from a counter metric in Grafana?

Hello!

I have some issues with writing a query in PromQL and setuping dashboard to get a quantity distribution by hour in Grafana. I need a bar-gauge diagram, so i must provide every hour as a label, but i think that is a very bad idea to do it manually in application.
What operators and settings i should use?

For example, I have a http_server_requests_seconds_count{} counter metric. I would like to have something like this:


(every bar is a quantity of requests for a specific hour)

Can anybody help? Any help would be appreciate

for nginx, you can find some similar boards for apache if you google i’m sure…