Skip to content

test(o11y): add gRPC transport o11y integration test#5393

Merged
haphungw merged 1 commit intogoogleapis:mainfrom
haphungw:transport-level-test
Apr 14, 2026
Merged

test(o11y): add gRPC transport o11y integration test#5393
haphungw merged 1 commit intogoogleapis:mainfrom
haphungw:transport-level-test

Conversation

@haphungw
Copy link
Copy Markdown
Contributor

Add a new integration test grpc_transport_observability.rs to verify that transport-level metrics, spans, and logs are correctly emitted.

The test uses an in-memory collector to verify:

  • gcp.client.attempt.duration metric is recorded.
  • Transport span is created with Error status on failure.
  • Actionable error log is emitted with correct trace correlation.

This test aims at increase coverage for transport-level signals, which were missed @ commit f6a03af28817c31bfb8f0f8c78fd998c5fb8c88c

@haphungw haphungw force-pushed the transport-level-test branch from a5e1b6f to 5b163ad Compare April 13, 2026 22:59
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.56%. Comparing base (523e85a) to head (5b163ad).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5393      +/-   ##
==========================================
- Coverage   97.56%   97.56%   -0.01%     
==========================================
  Files         222      222              
  Lines       46616    46616              
==========================================
- Hits        45482    45480       -2     
- Misses       1134     1136       +2     

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

@haphungw haphungw marked this pull request as ready for review April 13, 2026 23:12
@haphungw haphungw requested a review from a team as a code owner April 13, 2026 23:12
@haphungw haphungw merged commit efa620d into googleapis:main Apr 14, 2026
35 checks passed
@haphungw haphungw deleted the transport-level-test branch April 15, 2026 21:26
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