This repository was archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(MAINT) Refactor telemetry to pass root span name
Prior to this commit, the telemetry package hard coded the root span to execution; this commit modifies the Start function to take an additional paramater, rootCommandName, which is passed when called in main to ensure that the root span is appropriately named. This will enable broader reuse by other PDK tools such as PRM. This commit also renames the variable containing the root span in main from span to parentSpan in preparation for spinning up a child span in main instead of in each subcommand.
- Loading branch information
1 parent
31d37c2
commit 8f537af
Showing
3 changed files
with
5 additions
and
5 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