Rails_performance

screenshot of Rails_performance
rails

Monitor performance of you Rails applications (self-hosted and free)

Overview:

The Rails Performance tool is a self-hosted solution designed to monitor the performance of Ruby on Rails applications. It serves as a simple and free alternative to services like New Relic APM and Datadog. With features such as real-time monitoring, tracking slow requests, throughput reports, and more, this tool provides valuable insights for optimizing application performance.

Features:

  • Real-time monitoring: Keep track of recent requests and monitor performance in real-time.
  • Slow request tracking: Identify and analyze slow requests to improve response times.
  • Throughput report: View the number of requests per minute to gauge application load.
  • Average response time: Monitor the average time taken to respond to requests.
  • Slowest controllers & actions: Identify and focus on the controllers and actions that contribute to performance bottlenecks.
  • Total time duration per request: Understand the time spent on request processing, view rendering, DB queries, and more.
  • Error reports: Receive reports on 500 errors for easy troubleshooting.
  • Support for Sidekiq jobs, Delayed Job jobs, Grape API, and Rake tasks performance: Monitor performance across different components of the Rails application.

Alternative: Mounting the engine yourself:

If needed, you can mount RailsPerformance manually by configuring the engine. Here is an example snippet for inspiration:

Rails.application.routes.draw do
  mount RailsPerformance::Engine, at: '/rails/performance'
end

Summary:

The Rails Performance tool provides essential monitoring and performance tracking capabilities for Ruby on Rails applications. With features like real-time monitoring, throughput reports, and error tracking, developers can gain insights into application performance and make informed optimizations. By leveraging Redis for storing data locally and offering an easy installation process, this tool is a valuable addition to any Rails developer's toolkit.

rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.