You didn't provide any evidence of why you think it's not working. You need
to include more information.

On Tue, Aug 4, 2020, 17:25 Byungkwon Choi <[email protected]> wrote:

> Hello,
>
> I want to collect the HTTP requests per second every second.
> To do so, I'm using Prometheus and Prometheus Adapter.
>
> I set the value of 'scrape_interval', 'scrape_timeout', and
> 'evaluation_interval' to 1s in the Prometheus ConfigMaps resource of K8S as
> follows:
>
> [image: 스크린샷 2020-08-05 오전 12.20.46.png]
>
>
> I use the following query to collect HTTP requests per second:
> sum(irate(request_total{namespace!="", direction="inbound"}[30s])) by
> (deployment)
>
> However, the value of the query is updated almost every 20 seconds.
> What I expect to this value is to be updated every second because I use
> 'irate' here and set 'scrape_interval' to 1 second.
>
>
> My current environment is as follows:
>
>    - Service mesh: Linkerd v2.8.1
>    - K8S version: v1.17.9
>    - CNI: Calico
>    - Other components deployed together: Jaeger, Prometheus-adapter
>
>
> Did I miss something?
> Thank you in advance!
>
> --
> 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/aa2fcdf9-dddc-4c36-b1be-82cd9bae8542o%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/aa2fcdf9-dddc-4c36-b1be-82cd9bae8542o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CABbyFmqsXjZ4%2BDfwYh6kbuRi-9RpW7R0Ug2LARWWo6Eo2YQWGA%40mail.gmail.com.

Reply via email to