![]() |
1 year ago | |
---|---|---|
.. | ||
README.md | 1 year ago | |
incremental_sum.c | 1 year ago | |
incremental_sum.h | 1 year ago |
incremental_sum
)This modules finds the incremental sum of a period, which last value - first value
.
The result may be positive (rising) or negative (falling) depending on the first and last values.
Use it in alerts like this:
alarm: my_alert
on: my_chart
lookup: incremental_sum -1m unaligned of my_dimension
warn: $this > 1000
incremental_sum
does not change the units. For example, if the chart units is requests/sec
, the result
will be again expressed in the same units.
It can also be used in APIs and badges as &group=incremental_sum
in the URL.
Examining last 1 minute successful
web server responses: