-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add types and rename fields for tracing
This overhauls the tracing-related types and their serialization to JSON. We rename Event.StartTimestamp, Span.StartTimestamp and Span.EndTimestamp to remove the "stamp" suffix in preparation to use StartTime and EndTime for spans when full tracing support is added. Preferring the shorter name because it is shorter and equally clear, and the type is time.Time. This is a breaking change, but should not affect most users, as those names were only used by the Sentry OpenTelemetry Exporter (we can update it) and are marked as experimental APIs.
- Loading branch information
1 parent
52d9d61
commit 18aaf7e
Showing
7 changed files
with
324 additions
and
72 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
Oops, something went wrong.