lib/datadog/notifications/plugins/action_controller.rb in datadog-notifications-0.5.4 vs lib/datadog/notifications/plugins/action_controller.rb in datadog-notifications-0.6.0
- old
+ new
@@ -7,10 +7,10 @@
#
# *<tt>:metric_name</tt> - the metric name, defaults to "rails.request"
# *<tt>:tags</tt> - additional tags
def initialize(opts={})
super
- @metric_name = opts[:metric_name] || "rails.request"
+ @metric_name = opts[:metric_name] || 'rails.request'
Datadog::Notifications.subscribe 'process_action.action_controller' do |reporter, event|
record reporter, event
end
end