Sha256: c5111baaf4e67cfb675313716881fac38bee215a78a15fbc118c05205389844a
Contents?: true
Size: 520 Bytes
Versions: 14
Compression:
Stored size: 520 Bytes
Contents
module Instana class Config def initialize @config = {} @config[:agent_host] = '127.0.0.1' @config[:agent_port] = 42699 @config[:metrics] = {} @config[:metrics][:gc] = { :enabled => true } @config[:metrics][:memory] = { :enabled => true } @config[:metrics][:thread] = { :enabled => true } end def [](key) @config[key.to_sym] end def []=(key, value) @config[key.to_sym] = value end end end ::Instana.config = ::Instana::Config.new
Version data entries
14 entries across 14 versions & 1 rubygems