Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] update Sinatra documentation with the new API #259

Merged
merged 1 commit into from
Nov 30, 2017

Conversation

palazzem
Copy link
Contributor

Overview

Sinatra PR #226 introduced a breaking change. This PR updates the documentation with the newer API.

@palazzem palazzem added the docs Involves documentation label Nov 30, 2017
@palazzem palazzem added this to the 0.10.0 milestone Nov 30, 2017
@palazzem palazzem requested review from p-lambert and ufoot November 30, 2017 09:02
Copy link
Contributor

@ufoot ufoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GTM, thanks for spotting this, left a nitpick but good, really.

@@ -141,6 +141,10 @@ either ``sinatra`` or ``sinatra/base``:
require 'ddtrace'
require 'ddtrace/contrib/sinatra/tracer'

Datadog.configure do |c|
c.use :sinatra, default_service: 'my-app'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it strange that default service is not something like 'my-sinatra-app' but that's not the subject of the PR. Just noticed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just kept the previous value for consistency. All docs will be rewritten after when the new API will be available for all integrations. Thanks for pointing that!

@palazzem palazzem merged commit ccf3332 into master Nov 30, 2017
@palazzem palazzem deleted the palazzem/sinatra-docs branch November 30, 2017 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Involves documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants