-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OtelSpanBuilder now uses SpanBuilder properly
without this change we would first create a SpanBuilder with an empty name and then update the name on the span. There are cases that depending on the name of the span OTel can already interact with the SpanBuilder and alter its behaviour. with this change SpanBuilder is created on the start() method where it should already contain all the necessary information including the proper name. We set the name on the builder instead of the span. fixes gh-259
- Loading branch information
1 parent
3c5845c
commit b5204aa
Showing
4 changed files
with
44 additions
and
21 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