Class: Honeybadger::ActiveSupportCacheSubscriber

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

Instance Method Summary collapse

Methods inherited from RailsSubscriber

#record, #record_metrics

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(_name, payload) ⇒ Object



82
83
84
85
# File 'lib/honeybadger/notification_subscriber.rb', line 82

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