⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.94
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Server Software:
Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
src
/
netdata
/
web
/
api
/
formatters
/
value
/
View File Name :
README.md
<!-- title: "Value formatter" custom_edit_url: https://github.com/netdata/netdata/edit/master/web/api/formatters/value/README.md sidebar_label: "Value formatter" learn_status: "Published" learn_topic_type: "References" learn_rel_path: "Developers/Web/Api/Formatters" --> # Value formatter The Value formatter presents [results of database queries](https://github.com/netdata/netdata/blob/master/web/api/queries/README.md) 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`](https://github.com/netdata/netdata/blob/master/web/api/formatters/ssv/README.md) formatter and [health monitoring queries](https://github.com/netdata/netdata/blob/master/health/README.md).