Class: Honeybadger::ActionControllerCacheSubscriber

Inherits:
NotificationSubscriber show all
Defined in:
lib/honeybadger/notification_subscriber.rb

Instance Method Summary collapse

Methods inherited from NotificationSubscriber

#finish, #process?, #record, #record_metrics, #start

Methods included from InstrumentationHelper

#decrement_counter, #extract_attributes, #extract_callable, #gauge, #histogram, #increment_counter, #metric_agent, #metric_attributes, #metric_instrumentation, #metric_source, #monotonic_timer, #time

Instance Method Details

#format_payload(payload) ⇒ Object



67
68
69
70
# File 'lib/honeybadger/notification_subscriber.rb', line 67

def format_payload(payload)
  payload[:key] = ::ActiveSupport::Cache.expand_cache_key(payload[:key]) if payload[:key]
  payload
end