You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
Is it possible to do that?
I tried smth like that
Yabeda::Rails.on_controller_action do |event, labels|
next unless Rails.configuration.measured_actions.include? "#{labels[:controller]}##{labels[:action]}"
...
Yabeda::Rails.on_controller_action is a hook to adding measure of new custom metrics and can't limit builtin ones.
For now you can fork this gem and experiment with adding some guard clauses (like next unless event.payload[:params]["controller"].in? %w[your whitelisted controllers]) between lines 42 and 43 of lib/yabeda/rails.rb, here:
Hi!
Is it possible to do that?
I tried smth like that
and
but not working, I see all controllers in /metrics
The text was updated successfully, but these errors were encountered: