You are zoomed in to where the resolution of each point on the graph is 1
second. When you are graphing data, Prometheus has to look back the time
range of your range vector [1m]. The data points needed for where your
graph show a gap are actually outside the window of what you are showing
for the raw data.

Basically, you're zoomed in too far with the resolution too high for any
useful comparison.

On Fri, Jul 10, 2020 at 9:37 AM Anoop <[email protected]> wrote:

> Hi,
>
> I have configured a job in Prometheus with 30s as scrape interval.
> When I am checking the query with rate function, I can see some gaps in
> the query. The rate interval for the query is [1m].
> Please find the below screenshots to understand the issue. In this case, I
> executed the query for the time range 1m.
>
> *Query without rate function:*
>
> [image: prom_rate_query_0.PNG]
>
>
>
> *Query with rate function:*
>
> [image: prom_rate_query_1.PNG]
>
>
> Can someone please explain why the rate query is behaving like this?
>
> Thanks,
>
> --
> 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/655a3227-c544-4625-a508-ab419cef927fo%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/655a3227-c544-4625-a508-ab419cef927fo%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/CABbyFmqL0TwEr24H9HAJwh-wRj1Ymg1g9Qux%2Be0ew9eG6r%2BDYw%40mail.gmail.com.

Reply via email to