scout_apm_python icon indicating copy to clipboard operation
scout_apm_python copied to clipboard

CPU Metrics Nonsensical

Open alexottoboni opened this issue 6 years ago • 4 comments

Viewing CPU usage for a node on the Python monitoring page gives data that doesn't make sense. See attached photo.

screen shot 2018-10-23 at 5 06 29 pm

alexottoboni avatar Oct 24 '18 00:10 alexottoboni

Thanks for the report @alexottoboni. Do you happen to be running your apps in containers or have any resource limits applied via cgroups?

dlanderson avatar Dec 20 '18 15:12 dlanderson

They are running in containers on AWS ECS Fargate. Is this already a known issue? If so I should have looked through the documentation better, haha.

alexottoboni avatar Dec 20 '18 23:12 alexottoboni

@alexottoboni Thanks for the info. Sometimes containers can complicate the calculation of CPU usage resulting in inaccurate info. Sometimes we also calculate incorrect info even without containers: we'll investigate making the CPU stats more robust. The rest of the metrics gathered are not affected.

dlanderson avatar Jan 07 '19 16:01 dlanderson

I've noticed this same thing, also running in ECS Fargate here.

dbanty avatar Mar 06 '20 14:03 dbanty