Skip to content
railsengines.com

Rails Trace Viewer

Real-time visualization of the Rails request lifecycle. Trace controllers, models, SQL queries, and distributed Sidekiq jobs in an interactive call stack…

No ratings yet
Gem
rails_trace_viewer
Repository
Aditya-JOSH/rails_trace_viewer
License
MIT
Stars
59
Added
August 16, 2026

About

Real-time visualization of the Rails request lifecycle. Trace controllers, models, SQL queries, and distributed Sidekiq jobs in an interactive call stack tree. Perfect for debugging and education.

Rails Trace Viewer provides a beautiful, interactive Call Stack Tree that visualizes how your Rails application processes requests. It traces the flow from the Controller through Models, Views, SQL Queries, and even across process boundaries into Sidekiq Background Jobs.

What you get

  • 🔍 Real-time Visualization: Traces appear instantly via WebSockets.
  • 🧩 Distributed Tracing: Seamlessly links Controller actions to Sidekiq Jobs (enqueue & perform).
  • 📊 Deep Inspection: Click any node to see arguments, SQL binds, file paths, and line numbers.
  • 🎨 Beautiful UI: Interactive infinite canvas with panning, zooming, and auto-centering.
  • 🛑 Zero Production Impact: Designed to run safely in development mode.

Mounting it

ruby
# Gemfile
gem "rails_trace_viewer"

# config/routes.rb
mount RailsTraceViewer::Engine, at: "/rails-trace-viewer"

Details

59 stars on GitHub · MIT licensed · maintained by Aditya-JOSH. Source: https://github.com/Aditya-JOSH/rails_trace_viewer

Discussion (0)

Sign in to join the discussion.

No comments yet.