lib/datadog/notifications/plugins/action_controller.rb in datadog-notifications-0.4.3 vs lib/datadog/notifications/plugins/action_controller.rb in datadog-notifications-0.4.4

- old
+ new

@@ -28,11 +28,11 @@ tags = self.tags + %W|method:#{method} status:#{status} action:#{action} controller:#{ctrl} format:#{format}| reporter.batch do reporter.increment metric_name, tags: tags reporter.timing "#{metric_name}.time", event.duration, tags: tags - reporter.timing "#{metric_name}.time.db", to_millis(payload[:db_runtime]), tags: tags - reporter.timing "#{metric_name}.time.view", to_millis(payload[:view_runtime]), tags: tags + reporter.timing "#{metric_name}.time.db", payload[:db_runtime], tags: tags + reporter.timing "#{metric_name}.time.view", payload[:view_runtime], tags: tags end end end end