Sha256: dae6a2715970bc98c07d02ac7c934930162260853ef761126c680ef1eb7f8fbc
Contents?: true
Size: 659 Bytes
Versions: 14
Compression:
Stored size: 659 Bytes
Contents
require 'ddtrace/contrib/racecar/events/batch' require 'ddtrace/contrib/racecar/events/message' require 'ddtrace/contrib/racecar/events/consume' module Datadog module Contrib module Racecar # Defines collection of instrumented Racecar events module Events ALL = [ Events::Consume, Events::Batch, Events::Message ].freeze module_function def all self::ALL end def subscriptions all.collect(&:subscriptions).collect(&:to_a).flatten end def subscribe! all.each(&:subscribe!) end end end end end
Version data entries
14 entries across 14 versions & 2 rubygems