简体   繁体   中英

netdata metrics displayed in Grafana shows incorrect values

I'm trying to get netdata metrics to Graphite and use Grafana for plotting historical metrics.

However the unit of the metrics doesn't work well with Grafana. When plotting CPU utilization percentage I get values like 1000000000% and 6000000000% with Unit set as Percent(0-100).

I'm I missing something?

The architecture looks like below

NetData ---> Graphite ----> Grafana

I think that the values returned to Grafana are not percent but datasize probably in bits.If you want to display percent, you have to use some functions like this :

asPercent(<your metric>, <maximum of this metrics>, 0)

More details on function of graphite : https://graphite.readthedocs.io/en/latest/functions.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM