lib/opentelemetry/instrumentation/rack.rb in opentelemetry-instrumentation-rack-0.22.1 vs lib/opentelemetry/instrumentation/rack.rb in opentelemetry-instrumentation-rack-0.23.0
- old
+ new
@@ -12,11 +12,10 @@
# Contains the OpenTelemetry instrumentation for the Rack gem
module Rack
extend self
CURRENT_SPAN_KEY = Context.create_key('current-span')
-
private_constant :CURRENT_SPAN_KEY
# Returns the current span from the current or provided context
#
# @param [optional Context] context The context to lookup the current
@@ -48,6 +47,7 @@
end
end
end
require_relative './rack/instrumentation'
+require_relative './rack/util'
require_relative './rack/version'