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

ddtrace: improve examples. #263

Merged
merged 1 commit into from
Jun 19, 2018
Merged

ddtrace: improve examples. #263

merged 1 commit into from
Jun 19, 2018

Conversation

gbbr
Copy link
Contributor

@gbbr gbbr commented Jun 19, 2018

No description provided.

@gbbr gbbr merged commit 92d60c8 into v1 Jun 19, 2018
@gbbr gbbr deleted the gbbr/docs branch June 19, 2018 11:31
@@ -45,6 +45,7 @@ func Example_opentracing() {
// Start a Datadog tracer, optionally providing a set of options,
// returning an opentracing.Tracer which wraps it.
t := opentracer.New(tracer.WithAgentAddr("host:port"))
defer tracer.Stop() // important for data integrity (flushes any leftovers)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd write this as // Flushes any in-flight data.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. "Leftovers" is not the most fantastic nor technically correct word.

gbbr added a commit that referenced this pull request Jun 25, 2018
mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants