1,netdata中cpu和磁盘分区的使用率 如: 100 / sum(netdata_disk_space_GiB_average{family="/data", group=~"^back.*|^gam.*"}) by (env,group,host,instance) * sum(netdata_disk_space_GiB_average{family="/data",dimension=~"avail|cached",group=~"^back.*|^gam.*"}) by (env,group,host,instance) 根据运算顺序,可以有不同的写法: 比如2/6*3 = 2*3/6 = 3/6 *2 都是一个意思 具体的数据样例可以在prometheus中使用查询语句可下 如: netdata_disk_space_GiB_average{family="/data",host="uat-game-aaa-server-0"}