igorkasyanchuk / rails_performance

Monitor performance of you Rails applications (self-hosted and free)
https://www.railsjazz.com/
MIT License
950 stars 53 forks source link

Compatibility with Rails 6 #58

Open jeremylynch opened 8 months ago

jeremylynch commented 8 months ago

Noted the readme states works with Rails 4.2+ (and probably 4.1, 4.0 too) and Ruby 2.2+. Does it work with Rails 5 and beyond?

I have tried to install this on Rails 6.1 and I am getting no data showing in the dashboard:

image

We have tried the following to resolve:

igorkasyanchuk commented 8 months ago

@jeremylynch strange, but can you try "dummy" app (if you clone this gem)

also, if you will clone repo and connect locally in your app:

gem 'rails_performance', path: "../rails_performance"

and try to debug this file https://github.com/igorkasyanchuk/rails_performance/blob/master/lib/rails_performance/rails/middleware.rb

don't forget to always restart server if you will change any file from the gem.