forked from census-instrumentation/opencensus-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interceptor/opencensus: support multiplexing in Export
Add multiplexing/"pass through" mode where spans from sources other than the initiating node can be sent and they should be properly proxied to their final destination. If the currently received node is nil, use the previously received and non-nil node, and after processing spans, memoize the last received node. Updated the tests to lock-in this behavior. This change also adds in tests to ensure this behavior and to avoid regressions in the future. Fixes census-instrumentation#43
- Loading branch information
Showing
2 changed files
with
170 additions
and
15 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