mirror of
https://github.com/netdata/netdata.git
synced 2025-04-21 04:10:38 +00:00
![]() * /api/v1/weights endpoints * high resolution anomaly rate in parallel with queries; points and options in /api/v1/weights reflect the truth * context printing * merged metric_correlations with weights API; added parameter tier to select the tier to run the query; weight api now returns points per tier; added swagger info about weights api * moved metric_correlations files to web/api/queries as weights * added contexts filtering; renamed correlated_dimensions; weights API is always enabled; code cleanup * allow returning zero results |
||
---|---|---|
.. | ||
Makefile.am | ||
README.md | ||
value.c | ||
value.h |
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.