Skip to content

impl(o11y): add resource_name support for gRPC tracing#4035

Merged
westarle merged 3 commits intogoogleapis:mainfrom
westarle:impl/grpc-resource-name
Dec 9, 2025
Merged

impl(o11y): add resource_name support for gRPC tracing#4035
westarle merged 3 commits intogoogleapis:mainfrom
westarle:impl/grpc-resource-name

Conversation

@westarle
Copy link
Contributor

@westarle westarle commented Dec 9, 2025

No description provided.

@codecov
Copy link

codecov bot commented Dec 9, 2025

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 95.22%. Comparing base (0253dcd) to head (42b816b).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/gax-internal/src/grpc.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4035      +/-   ##
==========================================
- Coverage   95.23%   95.22%   -0.01%     
==========================================
  Files         171      171              
  Lines        6467     6476       +9     
==========================================
+ Hits         6159     6167       +8     
- Misses        308      309       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@westarle westarle force-pushed the impl/grpc-resource-name branch from 8fa5c5d to 1661efb Compare December 9, 2025 12:42
@westarle westarle force-pushed the impl/grpc-resource-name branch from 1661efb to fdd90ad Compare December 9, 2025 12:56
@westarle westarle marked this pull request as ready for review December 9, 2025 13:02
@westarle westarle requested a review from a team December 9, 2025 13:02
coryan
coryan previously approved these changes Dec 9, 2025
Copy link
Collaborator

@coryan coryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small improvements (maybe, I am not sure, look at them and tell me what you think). None of them blocking.

…s_str` methods and update test credential usage.
coryan
coryan previously approved these changes Dec 9, 2025
@westarle westarle enabled auto-merge (squash) December 9, 2025 15:18
@westarle westarle merged commit a939111 into googleapis:main Dec 9, 2025
29 checks passed
haphungw added a commit to googleapis/librarian that referenced this pull request Mar 12, 2026
Integrate `google.api.resource_reference` explicit extraction into
tracing telemetry.

When explicit resource annotations are available
(`HasResourceNameFields`), the templates now extract the value directly
from the generated request object and pass it via
`options::internal::set_resource_name`, without having to fall back on
the heuristic.

Depends on:
googleapis/google-cloud-rust#3771
googleapis/google-cloud-rust#4035

Fixes #4440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants