How do you use the PromQL delta function?
delta
PromQL delta() calculates the difference between the first and last value of every time-series element in a range vector, and it should be used only with gauge metrics. Prometheus query functions
delta()
Community Discussion