Re: [prometheus-users] Rate function is misbehaving

2020-08-21 Thread 'Eduard Feliu' via Prometheus Users
20 at 10:08, Ben Kochie wrote: >> >>> I haven't looked over the whole value list, but this definitely sounds >>> like a small counter jump backwards. This triggers a reset. >>> >>> If you query for nginx_ingress_controller_requests >>> {...}[10

Re: [prometheus-users] Rate function is misbehaving

2020-08-21 Thread 'Eduard Feliu' via Prometheus Users
On Fri, Aug 21, 2020, 09:47 'Eduard Feliu' via Prometheus Users < > prometheus-users@googlegroups.com> wrote: > >> *What did you do?* >> >> I queried the following metric: >> >> sum(rate(nginx_ingress_controller_requests{account="&qu

[prometheus-users] Rate function is misbehaving

2020-08-21 Thread &#x27;Eduard Feliu&#x27; via Prometheus Users
*What did you do?* I queried the following metric: sum(rate(nginx_ingress_controller_requests{account="",exported_namespace="x",ingress=~"x.*"}[2m])) *What did you expect to see?* I expect to see a rate of 24/25 request per seconds given the raw values of the counter metric. *What