Class: Atatus::Metrics::SpanScopedSet Private

Inherits:
Set
  • Object
show all
Defined in:
lib/atatus/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

BreakdownSet, TransactionSet

Constant Summary

Constants inherited from Set

Atatus::Metrics::Set::DISTINCT_LABEL_LIMIT

Constants included from Logging

Logging::LEVELS, Logging::PREFIX

Instance Attribute Summary

Attributes inherited from Set

#metrics

Instance Method Summary collapse

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 Atatus::Metrics::Set

Instance Method Details

#collectObject

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/atatus/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