Subscribe to Blog

Tracking Meteor CPU Usage with Kadira

By arunoda . - June 12, 2014

You might have seen the EventLoop Utilization chart in our Dashboard. But, it was not correctly working across different hosting platforms. Actually, that value does not reflect any meaning in some situations.

CPU Usage tracking with Kadira

So, we’ve replaced EventLoop Utilization with CPU Usage. It’s the actual percentage of CPU spent on your app. Still, you need to be careful with analyzing CPU Usage because, some hosting providers have implemented CPU restrictions. But you can see the correct CPU Usage of your app.

Please upgrade kadira smart package in order to track CPU Usage. Apply following code:

mrt update

How do we track CPU Usage?

There is no direct API to track CPU usage of your app within your app. But, we are using usage npm module for that. In Linux and Solaris, it uses the /proc filesystem to read the CPU usage. So, it is very efficient.

Have a good time with improving your application.

Subscribe to Blog
comments powered by Disqus