filmov
tv
Understanding Counter Rates and Increases in PromQL | Reset Handling, Extrapolation, Edge Cases
Показать описание
In this video, I explain the exact value calculation behaviors of the rate(), irate(), and increase() functions in PromQL for computing rates of increase for counter metrics, show how they are different, how they deal with counter resets, how and when they extrapolate values, and which one you should use.
Check out my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:
Chapters:
00:00 Introduction
00:45 Absolute Counter Values and Why We Want Rates
01:18 The Three Counter Increase Functions
02:36 Behavior of rate() and increase()
03:02 Handling Counter Resets
04:41 Calculating the rate() and increase() Slope
05:08 Extrapolating the Return Value for the increase() Function
06:42 Confusing Extrapolation for Slow-Moving Counters
07:37 Limiting Extrapolation for Series Starting or Ending Under the Window
08:26 Limiting Extrapolation to Zero Sample Values
08:52 The irate() Function
09:59 Which Function Should You Use?
10:30 Outro & PromLabs Trainings
---------------------------------------------------------------------------
Check out my Prometheus training courses if you want to learn Prometheus in a structured way from the ground up:
Chapters:
00:00 Introduction
00:45 Absolute Counter Values and Why We Want Rates
01:18 The Three Counter Increase Functions
02:36 Behavior of rate() and increase()
03:02 Handling Counter Resets
04:41 Calculating the rate() and increase() Slope
05:08 Extrapolating the Return Value for the increase() Function
06:42 Confusing Extrapolation for Slow-Moving Counters
07:37 Limiting Extrapolation for Series Starting or Ending Under the Window
08:26 Limiting Extrapolation to Zero Sample Values
08:52 The irate() Function
09:59 Which Function Should You Use?
10:30 Outro & PromLabs Trainings
---------------------------------------------------------------------------
Комментарии