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

Switch from WithSyncer to WithBatcher in examples #821

Merged
merged 1 commit into from Jun 16, 2021

Conversation

dashpole
Copy link
Contributor

Related to open-telemetry/opentelemetry-go#1039, and similar to open-telemetry/opentelemetry-go#2007, but for contrib.

A user accidentally used WithSyncer in their application (though not from this example), which added extra unexplainable latency in their request path. Use WithBatcher and ForceFlush in examples to make it explicit that we are waiting for spans to be sent to stdout at each point, and to discourage the use of WithSyncer.

@dashpole dashpole added the Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG label Jun 15, 2021
@MrAlias MrAlias merged commit 7a135d3 into open-telemetry:main Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants