lib/opentelemetry/instrumentation/rack/instrumentation.rb in opentelemetry-instrumentation-rack-0.23.5 vs lib/opentelemetry/instrumentation/rack/instrumentation.rb in opentelemetry-instrumentation-rack-0.24.0
- old
+ new
@@ -26,11 +26,11 @@
option :record_frontend_span, default: false, validate: :boolean
option :untraced_endpoints, default: [], validate: :array
option :url_quantization, default: nil, validate: :callable
option :untraced_requests, default: nil, validate: :callable
option :response_propagators, default: [], validate: :array
- # This option is only valid for applicaitons using Rack 2.0 or greater
- option :use_rack_events, default: false, validate: :boolean
+ # This option is only valid for applications using Rack 2.0 or greater
+ option :use_rack_events, default: true, validate: :boolean
# Temporary Helper for Sinatra and ActionPack middleware to use during installation
#
# @example Default usage
# Rack::Builder.new do