forked from googleapis/nodejs-pubsub
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: otel updates for latest spec doc #5
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9e6baf8
chore: merge remote-tracking branch 'remotes/origin/main' into otel-4…
feywind f0909bc
chore: fix intermediate samples build exclusion
feywind 09319ee
feat: update otel span names and attributes to latest spec
feywind bdfa0d6
chore: merge remote-tracking branch 'remotes/origin/main' into otel-4…
feywind 1a64d5d
chore: merge remote-tracking branch 'remotes/feywind/otel-4' into ote…
feywind cd1843f
chore: remove extraneous import
feywind 85d34b7
feat: add publish start/end events
feywind adf3be3
docs: comment updates about modack spans
feywind 700db86
tests: add a bunch of unit tests for new otel stuff
feywind 55b67b0
fix: subId might be undefined
feywind 9bbe060
chore: merge remote-tracking branch 'remotes/feywind/otel-4' into ote…
feywind d5f1c5d
fix: revert incorrect attribute change
feywind 9e12418
docs: clarify some comments
feywind cd1856c
tests: update the test for the last commit
feywind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/.nyc_output | ||
/docs/ | ||
/out/ | ||
/build/ | ||
**/build/ | ||
system-test/secrets.js | ||
system-test/*key.json | ||
*.lock | ||
|
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically not part of this PR but why is this necessary? It looks like the same information is already passed when
createPublisherSpan
is called.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned over chat, but the trouble is that, since everything is async, it's possible that the code could get to the part that sets the initial span name before the project ID is resolved. In that case, the project ID will become
{{project}}
in the final span, which isn't great. The project ID must be resolved by this point, so this just makes sure the right names are in place.