Module: ElasticAPM::Metrics Private

Defined in:
lib/elastic_apm/metrics.rb,
lib/elastic_apm/metrics/cpu_mem.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Collector, CpuMem

Constant Summary collapse

MUTEX =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Mutex.new

Class Method Summary collapse

Class Method Details

.new(config, &block) ⇒ 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.



10
11
12
# File 'lib/elastic_apm/metrics.rb', line 10

def self.new(config, &block)
  Collector.new(config, &block)
end

.platformObject

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.



14
15
16
# File 'lib/elastic_apm/metrics.rb', line 14

def self.platform
  @platform ||= Gem::Platform.local.os.to_sym
end