Sha256: 6adbdcad38668e676afdfc2f7f235e92eeefcb12a230588b28494ce7e8f052c9
Contents?: true
Size: 336 Bytes
Versions: 21
Compression:
Stored size: 336 Bytes
Contents
events = %w(write_fragment read_fragment expire_fragment write_page expire_page process_action send_file) events.each do |name| ActiveSupport::Notifications.subscribe "#{name}.action_controller" do |*args| event = ActiveSupport::Notifications::Event.new(*args) gauge = Harness::Gauge.from_event event gauge.log end end
Version data entries
21 entries across 21 versions & 1 rubygems