test(o11y): add spanner e2e trace context propagation test#5031
Draft
haphungw wants to merge 3 commits intogoogleapis:mainfrom
Draft
test(o11y): add spanner e2e trace context propagation test#5031haphungw wants to merge 3 commits intogoogleapis:mainfrom
haphungw wants to merge 3 commits intogoogleapis:mainfrom
Conversation
…gration tests Allows setting generic HTTP/gRPC headers via GOOGLE_CLOUD_TEST_EXTRA_HEADERS.
02a57ff to
2b6d1cd
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5031 +/- ##
==========================================
- Coverage 92.66% 92.53% -0.13%
==========================================
Files 226 226
Lines 8682 8698 +16
==========================================
+ Hits 8045 8049 +4
- Misses 637 649 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
6e8dffe to
2b6d1cd
Compare
2b6d1cd to
7588bc7
Compare
Contributor
Author
|
/gcbrun |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Execute live Google Cloud Trace pipeline proofs using the
google-cloud-spannerdependency.Expose the needed Spanner client methods as
pubso the test can compile.How to Run This Test Manually
If you want to verify that client-side trace spans correctly parent the Spanner backend spans, you can run this test locally against your own GCP project:
gcloud services enable spanner.googleapis.com cloudtrace.googleapis.com telemetry.googleapis.comgcloud spanner instances create trace-propagation-test-instance --config=regional-us-central1 --description="Test Instance" --nodes=1 gcloud spanner databases create test-database --instance=trace-propagation-test-instance