-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(core): add request hook to enrich T4 network spans with GCP resource attributes (E) #18272
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
Draft
chalmerlowe
wants to merge
13
commits into
feat/otel-tracing-t3-method-spans
from
feat/otel-tracing-t4-resource-attributes
+423
−5
Draft
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7853c1d
feat(core): add request hook to inject GCP resource and project attri…
chalmerlowe 1fa35d2
feat(core): implement complete T4 gRPC telemetry capture and response…
chalmerlowe de68542
test(core): add comprehensive unit tests for T4 gRPC telemetry and hooks
chalmerlowe 3c62176
refactor(core): adopt explicit _grpc_* naming for request extraction …
chalmerlowe 7ef1489
test(core): align test names and assertions with _grpc_* naming conve…
chalmerlowe cdc2576
feat(core): add url.domain, error attributes, and streamline T4 hooks
chalmerlowe 568872f
feat(core): normalize gRPC span names and eliminate duplicate rpc.sys…
chalmerlowe bd8bc35
refactor(core): remove deferred gcp.resource.destination.id attribute
chalmerlowe 2bf7856
feat(core): record rpc.response.status_code on wire attempt spans
chalmerlowe 6badb60
refactor(core): remove duplicate error attribute extraction in favor …
chalmerlowe 3fd36f8
fix(observability): resolve mypy union-attr error and support environ…
chalmerlowe 3dcb4a2
refactor(observability): simplify response hook to record OK on succe…
chalmerlowe 5f64897
test(observability): cover request hook span edge cases for 100% bran…
chalmerlowe 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
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.
Have you been able to test this with a client?
I was curious about the typing here, so I tried to look it up, but I'm pretty confused. Gemini is telling me that the response is a protobuf message, and this is only called on successful requests. And it found this open issue, saying it may be passing details for async requests. I'm having a hard time finding official docs around this. Are you sure it can complish what we need?