Class: ElasticAPM::Metrics::SpanScopedSet Private
- Defined in:
- lib/elastic_apm/metrics/span_scoped_set.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Constant Summary
Constants inherited from Set
ElasticAPM::Metrics::Set::DISTINCT_LABEL_LIMIT
Constants included from Logging
Logging::LEVELS, Logging::PREFIX
Instance Attribute Summary
Attributes inherited from Set
Instance Method Summary collapse
- #collect ⇒ Object private
Methods inherited from Set
#counter, #disable!, #disabled?, #gauge, #initialize, #metric, #timer
Methods included from Logging
#debug, #error, #fatal, #info, #warn
Constructor Details
This class inherits a constructor from ElasticAPM::Metrics::Set
Instance Method Details
#collect ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/elastic_apm/metrics/span_scoped_set.rb', line 24 def collect super.tap do |sets| next unless sets sets.each do |set| move_transaction(set) move_span(set) end end end |