From 40f23b62810a95c19ca89493b6168b503a575fda Mon Sep 17 00:00:00 2001 From: Juan Manuel Cuello Date: Sat, 30 Aug 2025 16:26:23 -0300 Subject: [PATCH] fix: typo in Rack::Instrumentation usage example of middleware_args --- .../lib/opentelemetry/instrumentation/rack/instrumentation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/rack/lib/opentelemetry/instrumentation/rack/instrumentation.rb b/instrumentation/rack/lib/opentelemetry/instrumentation/rack/instrumentation.rb index f1bce7f921..9c3dc10b81 100644 --- a/instrumentation/rack/lib/opentelemetry/instrumentation/rack/instrumentation.rb +++ b/instrumentation/rack/lib/opentelemetry/instrumentation/rack/instrumentation.rb @@ -36,7 +36,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base # # @example Default usage # Rack::Builder.new do - # use *OpenTelemetry::Instrumentation::Rack::Instrumenation.instance.middleware_args + # use *OpenTelemetry::Instrumentation::Rack::Instrumentation.instance.middleware_args # run lambda { |_arg| [200, { 'Content-Type' => 'text/plain' }, body] } # end # @return [Array] consisting of a middleware and arguments used in rack builders