README.md in opentelemetry-instrumentation-rails-0.16.0 vs README.md in opentelemetry-instrumentation-rails-0.17.0

- old
+ new

@@ -28,9 +28,21 @@ OpenTelemetry::SDK.configure do |c| c.use_all end ``` + +### Configuration options + +The `http.route` attribute is disabled by default because we use [.recognize](https://github.com/rails/rails/blob/v6.1.3/actionpack/lib/action_dispatch/journey/router.rb#L65) +```ruby +OpenTelemetry::SDK.configure do |c| + c.use 'OpenTelemetry::Instrumentation::Rails', { + enable_recognize_route: true + } +end +``` + ## Examples Example usage can be seen in the `./example/trace_demonstration.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/rails/example/trace_request_demonstration.ru) ## How can I get involved?