-
Notifications
You must be signed in to change notification settings - Fork 101
feat(spanner): implement custom tracer_provider injection for opentelemetry traces #1229
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
Merged
harshachinta
merged 19 commits into
googleapis:main
from
odeke-em:tracer_provider-injection
Nov 15, 2024
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
da102c4
all: implement custom tracer_provider injection
odeke-em 2181ca9
Address review feedback by attaching observability_options to Client …
odeke-em 540d0b8
Attach observability_options directly before trace_call
odeke-em 0b9ca49
More reverts for formatting
odeke-em 854a3ff
Plumb observability_options into _restart_on_unavailable
odeke-em 3e9a8ca
completely decouple observability_options from session
odeke-em 8af9e75
apply SPANNER_ENABLE_EXTENDED_TRACING but in inverse due to compatibi…
odeke-em 7adab38
Document SPANNER_ENABLE_EXTENDED_TRACING in environment
odeke-em afd01e1
Revert a vestige of mock
odeke-em ca8d598
tests: add unit test for propagating TracerProvider
odeke-em 6fb046c
Add preliminary end-to-end test to check for injection of observabili…
odeke-em fb3e8ea
Document default enable_extended_tracing value
odeke-em 762390c
Carve out observability_options test
odeke-em 21bfbcd
Ensure that observability_options test sets up and deletes database
odeke-em 797241f
Ensure instance.create() is invoked in system tests
odeke-em 25edeaa
Use getattr for mock _Client
odeke-em 42b9a4c
Update with code review suggestions
odeke-em 6c8bb88
Deal with mock.Mock false positives failing tests
odeke-em 196e9a0
Address review feedback
odeke-em 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.