energywebfoundation / ewc-system-tests

System level tests for EnergyWebChain
http://energyweb.org/
GNU General Public License v3.0
1 stars 2 forks source link

Azure monitoring shows different CPU usage than Telemetry #24

Closed danzipie closed 5 years ago

danzipie commented 5 years ago

I compared Azure monitoring and Telemetry data: they look very different. See CPU usage of the same bootnode (bootnode3)

Screen Shot 2019-04-24 at 17 32 39

Graph on the right generated with: SELECT mean("usage_percent") FROM "docker_container_cpu" WHERE ("container_name" = 'docker-stack_parity_1' AND "nodetype" = 'proxy') AND $timeFilter GROUP BY time($__interval), "engine_host" fill(linear)

elasticroentgen commented 5 years ago

telegraf/linux reports 100% per core. so if there is an 8-core system it can go up to 800% CPU. Azure might be measuring total utilization. Also depends on the averaging window.

danzipie commented 5 years ago

I see. The strange thing is that the value is bouncing between 10% (that is the correct value) and more than 100%. I will look again into this and eventually reopen.