-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmd/telemetrygen] calculate and set span start and end times precisely
- previous approach depended on a second call of `time.Now()` which differed in value from the spans start time and introduced variance to the duration - both start and end times are now set for both parent and child spans - added test to ensure start and end times match the duration provided exactly
- Loading branch information
James Neill
committed
Sep 20, 2023
1 parent
9ef99c7
commit e8099c3
Showing
2 changed files
with
41 additions
and
3 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