Hi Brian, Thanks for responding. I just wanted to confirm that I am not missing anything on prometheus query.
On Wednesday, 5 April 2023 at 16:43:39 UTC+5:30 Brian Candler wrote: > Your question appears to be about Grafana, so it would be best asked to > the Grafana community: > https://community.grafana.com/ > > On Wednesday, 5 April 2023 at 11:45:17 UTC+1 dikshant rai wrote: > >> Hi, >> I created a prometheus metric query as per the logs to count them and put >> them in grafana dashboard show that I can visualise them in numbers. >> I am creating one gauge and one trendline. Fo trendline it is good. >> Query is: >> sum(http_server_requests_seconds_count{uri="/collection/completeTask", >> method="POST", application="collection-service", status="200"}) >> only issue is time filter is not there. For example: If I put filter in >> grafana for 30 min it will show total number of task and If I put it for 2 >> days it still shows the same. >> It must be in way that it should shows how many request has been >> generated in last 30 min or 1 hour only. >> How can we put time filter for same? >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/86ac0bfc-611f-4489-8d47-336b182cc319n%40googlegroups.com.

