What does the PromQL function `rate()` calculate?
-
A
The maximum value of a counter over a range
-
B
The per-second average rate of increase of a counter over a time range
-
C
The difference between the first and last values of a gauge
-
D
The total sum of a histogram's observations