0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 03:02:41 +00:00
netdata_netdata/web/api/queries/incremental_sum/README.md
Fotis Voutsas 2c60f324ee
Add markdown files in Learn ()
* add metadata for learn

* first batch of adding metadata to md files

* second batch of adding metadata to md files

* third batch of adding metadata to md files

* test one sidebar_label

* add missing sidebar_labels

* add missing sidebar_labels to files left behind

* test, ansible doc is stubborn

* fix

* fix

* fix

* don't use questionmarks in the sidebar label

* don't use exclamation marks and symbols in the sidebar label

* fix style guide

* fixes

* fixes
2023-02-08 09:48:19 -08:00

1.7 KiB

Incremental Sum (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.

how to use

Use it in alarms like this:

 alarm: my_alarm
    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.

Examples

Examining last 1 minute successful web server responses:

References

  • none