-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This refactors the detect package with the goal of making it more similar to otel's `autoexport` package and splitting out the additional functionality used by buildkit, like the trace recorder and delegated tracer, to more explicit processors rather than implicit through `autoexport`. This removes the global variables for the trace provider and meter provider along with the global variable for the exporters. This is replaced with functions that create the exporters. The delegated tracer has been removed from detect and moved into the normal tracing util package. This is still used by the command line to send delegated traces, but it's an explicit exporter that's added rather than implicit. Some functions have been renamed mostly to force dependent packages to change their usage rather than have a chance at incorrect usage because the semantics changed. Signed-off-by: Jonathan A. Sternberg <[email protected]>
- Loading branch information
1 parent
dc23e43
commit 8a1e0d2
Showing
10 changed files
with
229 additions
and
227 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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.