module ElasticAPM::Metrics

@api private

@api private

Constants

NOOP

Public Class Methods

new(config, &block) click to toggle source
# File lib/elastic_apm/metrics.rb, line 23
def self.new(config, &block)
  Registry.new(config, &block)
end
os() click to toggle source
# File lib/elastic_apm/metrics.rb, line 31
def self.os
  @os ||= RbConfig::CONFIG.fetch('host_os', 'unknown').to_sym
end
platform() click to toggle source
# File lib/elastic_apm/metrics.rb, line 27
def self.platform
  @platform ||= Gem::Platform.local.os.to_sym
end