Skip to content

Commit 1fecae2

Browse files
authored
docs: typo in Rack::Instrumentation usage example of middleware_args (#1654)
fix: typo in Rack::Instrumentation usage example of middleware_args
1 parent 36ea12c commit 1fecae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/rack/lib/opentelemetry/instrumentation/rack/instrumentation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base
3636
#
3737
# @example Default usage
3838
# Rack::Builder.new do
39-
# use *OpenTelemetry::Instrumentation::Rack::Instrumenation.instance.middleware_args
39+
# use *OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.middleware_args
4040
# run lambda { |_arg| [200, { 'Content-Type' => 'text/plain' }, body] }
4141
# end
4242
# @return [Array] consisting of a middleware and arguments used in rack builders

0 commit comments

Comments
 (0)