Class: Honeybadger::ActiveSupportCacheSubscriber

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



74
75
76
77
# File 'lib/honeybadger/notification_subscriber.rb', line 74

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