V
V
Vadym Tishchenko2021-11-28 21:17:25
Monitoring
Vadym Tishchenko, 2021-11-28 21:17:25

[PromQL] What is the essence of interval in conjunction with counter?

Stack:

  • Prometheus
  • Grafana

As far as I understand from the documentation, if you make a query like
sum(increase(counter_metric{}[5m]))
Where counter_metricis some Counter metric, then this query will take only records for 5 minutes.
But at the same time, a time filter from grafana is also used.
From the graphs, I see that there is clearly not the last 5 minutes.
Then how does it actually work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question