![]() Or you could use the Alerting with the Profling to do that for you: You could also stay up late to run the profiling manually when the cpu spike. Given an example where you have a cpu spike in the night hours but doesn’t know why, you can explose your code base to try to understand it. Select an action to alert you that the threshold has been crossed (slack or email for ex.).Filter the app/server depending on which app you want to trakck.Select the metric that you want to get alerted on.The main use case of the feature is of course to alert you when metrics aren’t normal. Use cases Be alerted when a metrics go above a threshold You currently support 3 ways to be alerted: You can ask PM2 to restart your application (with you use the pm2 agent). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |