Class: ElasticAPM::Metrics::BreakdownSet Private

Inherits:
SpanScopedSet show all
Defined in:
lib/elastic_apm/metrics/breakdown_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.

Constant Summary

Constants inherited from Set

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 SpanScopedSet

#collect

Methods inherited from Set

#collect, #counter, #disable!, #disabled?, #gauge, #metric, #timer

Methods included from Logging

#debug, #error, #fatal, #info, #warn

Constructor Details

#initialize(config) ⇒ BreakdownSet

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.

Returns a new instance of BreakdownSet.



24
25
26
27
28
# File 'lib/elastic_apm/metrics/breakdown_set.rb', line 24

def initialize(config)
  super

  disable! unless config.breakdown_metrics?
end