Skip to content

impl(gax-internal): set the client span error attributes#4937

Merged
coryan merged 1 commit intogoogleapis:mainfrom
coryan:impl-gax-internal-more-client-span-attributes
Mar 8, 2026
Merged

impl(gax-internal): set the client span error attributes#4937
coryan merged 1 commit intogoogleapis:mainfrom
coryan:impl-gax-internal-more-client-span-attributes

Conversation

@coryan
Copy link
Copy Markdown
Contributor

@coryan coryan commented Mar 7, 2026

Part of the work for #4924 adds some missing fields to the client request spans.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 7, 2026

Codecov Report

❌ Patch coverage is 29.41176% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.05%. Comparing base (11991c1) to head (05c45b9).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...bservability/client_signals/with_client_signals.rs 29.41% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4937      +/-   ##
==========================================
- Coverage   94.08%   94.05%   -0.03%     
==========================================
  Files         219      219              
  Lines        8521     8529       +8     
==========================================
+ Hits         8017     8022       +5     
- Misses        504      507       +3     

☔ 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.

@coryan coryan marked this pull request as ready for review March 7, 2026 13:11
@coryan coryan requested a review from a team as a code owner March 7, 2026 13:11
Copy link
Copy Markdown
Contributor

@westarle westarle left a comment

Choose a reason for hiding this comment

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

oops one thing:

https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status

Generally, Instrumentation Libraries SHOULD NOT set the status code to Ok, unless explicitly configured to do so. Instrumentation Libraries SHOULD leave the status code as Unset unless there is an error, as described above.

@coryan coryan merged commit 9777703 into googleapis:main Mar 8, 2026
35 checks passed
@coryan coryan deleted the impl-gax-internal-more-client-span-attributes branch March 8, 2026 03:16
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