Sha256: aba1fa6750db980e369fa9c29d7642ff60c68e421462f4309e9d51caf922f4b1
Contents?: true
Size: 534 Bytes
Versions: 14
Compression:
Stored size: 534 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 = attributes_from_notification(event) base.merge({ "source" => "user", "name" => "manual", "payload_name" => name, "payload" => event.payload }) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems