Module: Datadog::Contrib::Racecar::Events
- Defined in:
- lib/ddtrace/contrib/racecar/events.rb,
lib/ddtrace/contrib/racecar/events/batch.rb,
lib/ddtrace/contrib/racecar/events/message.rb
Overview
Defines collection of instrumented Racecar events
Defined Under Namespace
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 |
# File 'lib/ddtrace/contrib/racecar/events.rb', line 16 def all self::ALL end |
.subscribe! ⇒ Object
24 25 26 |
# File 'lib/ddtrace/contrib/racecar/events.rb', line 24 def subscribe! all.each(&:subscribe!) end |
.subscriptions ⇒ Object
20 21 22 |
# File 'lib/ddtrace/contrib/racecar/events.rb', line 20 def subscriptions all.collect(&:subscriptions).collect(&:to_a).flatten end |