Sha256: ef3a4fba7ac217926fa5eda93496a5779cc4e0d6cbb977fb1de3947789ac1e7e
Contents?: true
Size: 657 Bytes
Versions: 33
Compression:
Stored size: 657 Bytes
Contents
# encoding: utf-8 module OneApm module Collector class UtilizationData REMOTE_DATA_VALID_CHARS = /^[0-9a-zA-Z_ .\/-]$/.freeze def harvest! [hostname, container_id, cpu_count, instance_type] end def merge!(*_); end def reset!(*_); end def hostname OneApm::Agent::Hostname.get end def container_id ::OneApm::Support::SystemInfo.docker_container_id end def cpu_count ::OneApm::Support::SystemInfo.clear_processor_info ::OneApm::Support::SystemInfo.num_logical_processors end def instance_type nil end end end end
Version data entries
33 entries across 33 versions & 1 rubygems