module ActiveModel::Serializable
def instrument(&block)
def instrument(&block) payload = { serializer: self.class.name } ActiveSupport::Notifications.instrument(INSTRUMENTATION_KEY, payload, &block) end
def instrument(&block) payload = { serializer: self.class.name } ActiveSupport::Notifications.instrument(INSTRUMENTATION_KEY, payload, &block) end