-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-core: move Trace helpers to Tracing
Problem: Using the `Trace.traceLocal` or other APIs results in multiple lookups. We recommend our customers to first capture a trace via `Trace.apply` before doing any actual tracing. We should do the same for `traceLocal` and variant APIs. Solution: Move things besides `letId`, `letTracers`, etc into `Tracing`. Result: Add `isActivelyTracing` guards to each of the APIs as well. JIRA Issues: CSL-10782 Differential Revision: https://phabricator.twitter.biz/D633318
- Loading branch information
1 parent
8a48eab
commit ec0097c
Showing
3 changed files
with
148 additions
and
144 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