lib/oboe/config.rb in oboe-2.4.0.1 vs lib/oboe/config.rb in oboe-2.5.0.7
- old
+ new
@@ -10,11 +10,11 @@
#
module Config
@@config = {}
@@instrumentation = [ :cassandra, :dalli, :nethttp, :memcached, :memcache, :mongo,
- :moped, :rack, :resque, :action_controller, :action_view,
+ :moped, :rack, :redis, :resque, :action_controller, :action_view,
:active_record ]
##
# Return the raw nested hash.
#
@@ -40,10 +40,11 @@
Oboe::Config[:memcache][:collect_backtraces] = false
Oboe::Config[:memcached][:collect_backtraces] = false
Oboe::Config[:mongo][:collect_backtraces] = true
Oboe::Config[:moped][:collect_backtraces] = true
Oboe::Config[:nethttp][:collect_backtraces] = true
+ Oboe::Config[:redis][:collect_backtraces] = false
Oboe::Config[:resque][:collect_backtraces] = true
# Special instrument specific flags
#
# :link_workers - associates enqueue operations with the jobs they queue by piggybacking
@@ -53,9 +54,12 @@
# (Default: false)
@@config[:resque][:link_workers] = false
# Setup an empty host blacklist (see: Oboe::API::Util.blacklisted?)
@@config[:blacklist] = []
+
+ # Access Key is empty until loaded from config file or env var
+ @@config[:access_key] = ""
# The oboe Ruby client has the ability to sanitize query literals
# from SQL statements. By default this is disabled. Enable to
# avoid collecting and reporting query literals to TraceView.
@@config[:sanitize_sql] = false