lib/instana/config.rb in instana-1.0.2 vs lib/instana/config.rb in instana-1.0.3
- old
+ new
@@ -8,15 +8,23 @@
@config[:metrics] = {}
@config[:metrics][:gc] = { :enabled => true }
@config[:metrics][:memory] = { :enabled => true }
@config[:metrics][:thread] = { :enabled => true }
+ if ENV.key?('INSTANA_GEM_DEV')
+ @config[:collector] = { :enabled => true, :interval => 3 }
+ else
+ @config[:collector] = { :enabled => true, :interval => 1 }
+ end
+
# EUM Related
@config[:eum_api_key] = nil
@config[:eum_baggage] = {}
# HTTP Clients
- @config[:excon] = { :enabled => true }
+ @config[:excon] = { :enabled => true }
+ @config[:nethttp] = { :enabled => true }
+ @config[:'rest-client'] = { :enabled => true }
end
def [](key)
@config[key.to_sym]
end