-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify opencensus client control flow (#790)
* Simplify opencensus client control flow * +trace * Flush traces after idle timeout Adds a 10s idle timeout so that traces are flushed when traffic stops. Increases the span buffer to 1000 spans and minimizes the initial allocation so that the buffer grows with use. Improves opencensus factoring by splitting more methods. * More yakshaving: make arguments explicit, avoid cloning the client * Remove unused IntoService helper * Drive both the response future and export stream together
- Loading branch information
Showing
4 changed files
with
128 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters