yabeda-rb / yabeda-rails

Yabeda plugin to collect basic metrics for Rails applications
MIT License
155 stars 20 forks source link

Adding more metrics such as cache hit/miss #15

Open shouichi opened 4 years ago

shouichi commented 4 years ago

Hi,

ActiveSupport publishes bunch of events and we want to instrument cache hit/miss through cache_read.active_support.

https://guides.rubyonrails.org/active_support_instrumentation.html

General question: we ultimately can instrument all events published by active support but maybe it's too much. Where should we draw a line?

Thank you.

Envek commented 4 years ago

I don't think that it would be useful to subscribe to all possible things from ActiveSupport.

But for things that would be useful to many users pull requests are definitely welcome!