Because my data is collected every 5 minutes, I use sum_over_time. If I don’t use it, it may not be possible to draw the graph at some points.
Brian Candler <[email protected]> 于2020年10月14日周三 上午2:28写道: > To take the difference between an instance vector as it is now and how it > was 5 minutes ago: > > foo - foo offset 5m > > However that doesn't explain why your delta(...) expression doesn't work. > Can you show the input data, what output data you get, and what output you > expected to see? > > It also doesn't explain why you want to use sum_over_time(...). What does > this metric represent? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Prometheus Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/prometheus-users/yS43RBTGls4/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/5e457d67-6f4c-4885-b51c-5db9d7662620o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/5e457d67-6f4c-4885-b51c-5db9d7662620o%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/CAO63JBbX8uCOmONM_84KqRUcgqoVgsooZoyBRzh%2BZP7Bm-UuXA%40mail.gmail.com.

