lib/instana/config.rb in instana-1.13.0 vs lib/instana/config.rb in instana-1.192.0
- old
+ new
@@ -40,15 +40,26 @@
# (unfortunately) disabled by default. If you still want
# backtraces, it can be enabled with this config option.
# ::Instana.config[:collect_backtraces] = true
@config[:collect_backtraces] = false
+ # By default, collected SQL will be sanitized to remove potentially sensitive bind params such as:
+ # > SELECT "blocks".* FROM "blocks" WHERE "blocks"."name" = "Mr. Smith"
+ #
+ # ...would be sanitized to be:
+ # > SELECT "blocks".* FROM "blocks" WHERE "blocks"."name" = ?
+ #
+ # This sanitization step can be disabled by setting the following value to false.
+ # ::Instana.config[:sanitize_sql] = false
+ @config[:sanitize_sql] = true
+
@config[:action_controller] = { :enabled => true }
@config[:action_view] = { :enabled => true }
@config[:active_record] = { :enabled => true }
@config[:dalli] = { :enabled => true }
@config[:excon] = { :enabled => true }
@config[:grpc] = { :enabled => true }
+ @config[:graphql] = { :enabled => true }
@config[:nethttp] = { :enabled => true }
@config[:redis] = { :enabled => true }
@config[:'resque-client'] = { :enabled => true }
@config[:'resque-worker'] = { :enabled => true }
@config[:'rest-client'] = { :enabled => true }