Sha256: 757401c5775a77b278adcbca7abacded2865508136c0067d3afcfccb0a5d0fe1
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 Bytes
Contents
# frozen_string_literal: true module PlainApm module Hooks class Manual < ActiveSupportSubscriber NOTIFICATION_PATTERN = /\A[^!]\w+\.manual_plain_apm\Z/.freeze private def notification_pattern NOTIFICATION_PATTERN end def payload(event) name, base = common_attributes(event) base.merge({ "source" => "user", "name" => "manual", "payload_name" => name, "payload" => event.payload }) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plain_apm-0.6.7 | lib/plain_apm/hooks/manual.rb |