Fix load
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Stefan Hoffmann 2023-03-20 16:35:28 +01:00
parent bada54bd1d
commit cfdca822ae

View File

@ -163,7 +163,7 @@ func processUNMSAPIRouter() []node {
} }
fields := map[string]interface{}{ fields := map[string]interface{}{
"cpu": statistics.CPU[t].Y, "cpu": statistics.CPU[t].Y,
"load": float64(statistics.CPU[t].Y), "load": float64(statistics.CPU[t].Y / 100),
"ram": statistics.RAM[t].Y, "ram": statistics.RAM[t].Y,
//hier fehlen noch die interfaces //hier fehlen noch die interfaces
} }