0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-13 05:02:03 +00:00
netdata_netdata/web/api/formatters/value
Promise Akpan f5006d51e8 Fix Markdown Lint warnings ()
* make remark access all directories

* detailed fix after autofix by remark lint

* cross check autofix for this set of files

* crosscheck more files

* crosschecking and small fixes

* crosscheck autofixed md files
2019-08-15 13:06:39 +02:00
..
Makefile.am Split the API formatters in modules () 2018-10-27 19:44:27 +03:00
README.md Fix Markdown Lint warnings () 2019-08-15 13:06:39 +02:00
value.c Split the API formatters in modules () 2018-10-27 19:44:27 +03:00
value.h Split the API formatters in modules () 2018-10-27 19:44:27 +03:00

Value formatter

The Value formatter presents results of database queries as a single value.

To calculate the single value to be returned, it sums the values of all dimensions.

The Value formatter respects the following API &options=:

option supported description
percent yes to replace all values with their percentage over the row total
abs yes to turn all values positive, before using them
min2max yes to return the delta from the minimum value to the maximum value (across dimensions)

The Value formatter is not exposed by the API by itself. Instead it is used by the ssv formatter and health monitoring queries.

analytics