Chapter 8Monitoring JRuby in Production

You’ve already learned how to get performance data from your app, the JRuby runtime, and the JVM. But profiling tools like VisualVM and JConsole are not well suited for use on a regular basis. They don’t capture historical data well, and some of their features even degrade the performance of your app. Besides, when a problem has occurred it’s usually too late to collect information with a profiler. A better solution for production monitoring is a background agent that reports to an external service.

In this chapter, you’ll attach some monitoring services to your production server to track its performance, uptime, and fault tolerance. You’ll learn how to create alerts for performance thresholds, capture ...

Get Deploying with JRuby 9k now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.