On Thursday 11 January 2024 at 11:27:15 UTC Alexander Wilke wrote: thank you for that snippet. I could use it to solve my issue: (sysUpTime - on (instance) group_right () ifLastChange) / 100
However I need to find some time and try to better understand how these operations work. Sure. In addition to the links I gave, there are other PromQL introductions you can find via Google. Here are a few that I bookmarked: https://prometheus.io/docs/prometheus/latest/querying/examples/ https://github.com/infinityworks/prometheus-example-queries https://timber.io/blog/promql-for-humans/ https://www.weave.works/blog/promql-queries-for-the-rest-of-us/ https://www.slideshare.net/weaveworks/promql-deep-dive-the-prometheus-query-language https://medium.com/@valyala/promql-tutorial-for-beginners-9ab455142085 https://www.robustperception.io/blog https://www.robustperception.io/common-query-patterns-in-promql https://www.robustperception.io/booleans-logic-and-math https://www.robustperception.io/composing-range-vector-functions-in-promql https://www.robustperception.io/rate-then-sum-never-sum-then-rate https://www.robustperception.io/using-group_left-to-calculate-label-proportions https://www.robustperception.io/extracting-raw-samples-from-prometheus https://www.robustperception.io/prometheus-query-results-as-csv https://www.robustperception.io/existential-issues-with-metrics Is there some sort of script builder for promQL ? Maybe this helps? https://promlens.com/ Referenced from: https://groups.google.com/g/prometheus-users/c/gB2r-KabtYU/m/M629uOUGDAAJ -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/74361b3d-e9f0-4a85-b57a-6a108d375858n%40googlegroups.com.