mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
Added extra information to docs about total
output in stream aggregation. (#4130)
Signed-off-by: Alexander Marshalov <_@marshalov.org>
This commit is contained in:
parent
174a70369c
commit
47e16594dd
BIN
docs/stream-aggregation-check-total-reset.png
Normal file
BIN
docs/stream-aggregation-check-total-reset.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 KiB |
@ -355,6 +355,20 @@ For example, see below time series produced by config with aggregation interval
|
||||
|
||||
<img alt="total aggregation" src="stream-aggregation-check-total.png">
|
||||
|
||||
`total` is not affected by [counter resets](https://docs.victoriametrics.com/keyConcepts.html#counter) -
|
||||
it continues to increase monotonically with respect to the previous value.
|
||||
The counters are most often reset when the application is restarted.
|
||||
|
||||
For example:
|
||||
|
||||
<img alt="total aggregation counter reset" src="stream-aggregation-check-total-reset.png">
|
||||
|
||||
The same behavior will occur when creating or deleting new series in an aggregation group -
|
||||
`total` will increase monotonically considering the values of the series set.
|
||||
|
||||
An example of changing a set of series can be restarting a pod in the Kubernetes.
|
||||
This changes a label with pod's name in the series, but `total` account for such a scenario and do not reset the state of aggregated metric.
|
||||
|
||||
### increase
|
||||
|
||||
`increase` returns the increase of input [counters](https://docs.victoriametrics.com/keyConcepts.html#counter).
|
||||
|
Loading…
Reference in New Issue
Block a user