Skip to content

Commit

Permalink
Change documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Aug 12, 2022
1 parent 6ec77d6 commit 41a4603
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -1936,16 +1936,12 @@ Datadog.configure do |c|
end
class NestedApp < Sinatra::Base
register Datadog::Tracing::Contrib::Sinatra::Tracer
get '/nested' do
'Hello from nested app!'
end
end
class App < Sinatra::Base
register Datadog::Tracing::Contrib::Sinatra::Tracer
use NestedApp
get '/' do
Expand All @@ -1954,8 +1950,6 @@ class App < Sinatra::Base
end
```

Ensure you register `Datadog::Tracing::Contrib::Sinatra::Tracer` as a middleware before you mount your nested applications.

#### Instrumentation options

`options` are the following keyword arguments:
Expand Down

0 comments on commit 41a4603

Please sign in to comment.