lib/sentry/rails/tracing/action_view_subscriber.rb in sentry-rails-4.7.2 vs lib/sentry/rails/tracing/action_view_subscriber.rb in sentry-rails-4.7.3
- old
+ new
@@ -6,10 +6,10 @@
class ActionViewSubscriber < AbstractSubscriber
EVENT_NAME = "render_template.action_view".freeze
def self.subscribe!
subscribe_to_event(EVENT_NAME) do |event_name, duration, payload|
- record_on_current_span(op: event_name, start_timestamp: payload[:start_timestamp], description: payload[:identifier], duration: duration)
+ record_on_current_span(op: event_name, start_timestamp: payload[START_TIMESTAMP_NAME], description: payload[:identifier], duration: duration)
end
end
end
end
end