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

Replace WithSyncer with WithBatcher in opencensus example #2007

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

dashpole
Copy link
Contributor

Related to #1039.

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 to make it explicit that we are waiting for spans to be sent to stdout at each point.

@dashpole dashpole added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jun 15, 2021
@dashpole dashpole added the pkg:example Related to an example label Jun 15, 2021
@Aneurysm9 Aneurysm9 merged commit 6d4a38f 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
pkg:example Related to an example Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants