class ActiveStorage::Previewer
def instrument(operation, payload = {}, &block)
def instrument(operation, payload = {}, &block) ActiveSupport::Notifications.instrument "#{operation}.active_storage", payload.merge(service: service_name), &block end
def instrument(operation, payload = {}, &block) ActiveSupport::Notifications.instrument "#{operation}.active_storage", payload.merge(service: service_name), &block end