Class: Tasker::Events::Subscribers::BaseSubscriber::MetricTagsExtractor
- Inherits:
-
Object
- Object
- Tasker::Events::Subscribers::BaseSubscriber::MetricTagsExtractor
- Defined in:
- lib/tasker/events/subscribers/base_subscriber.rb
Overview
Service class to extract and build metric tags from events Reduces complexity by organizing tag building logic
Class Method Summary collapse
-
.extract(event) ⇒ Array<String>
Extract all metric tags from event.
Class Method Details
.extract(event) ⇒ Array<String>
Extract all metric tags from event
328 329 330 331 332 333 334 335 336 337 |
# File 'lib/tasker/events/subscribers/base_subscriber.rb', line 328 def extract(event) = [] .concat((event)) .concat((event)) .concat((event)) .concat((event)) .compact end |