Sha256: 7b1d7859eec53d31469a8b30c6553708c12a7db37204ce1cd6b994b6f55007c8
Contents?: true
Size: 531 Bytes
Versions: 70
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations # @api private module DryMonitorIntegration def instrument(event_id, payload = {}, &block) Appsignal::Transaction.current.start_event super ensure title, body, body_format = Appsignal::EventFormatter.format("#{event_id}.dry", payload) Appsignal::Transaction.current.finish_event( title || event_id.to_s, title, body, body_format ) end end end end
Version data entries
70 entries across 70 versions & 1 rubygems