Skip to content

fix/issue 759 guard rpcstarted against a throwing met - #764

Merged
s2x merged 4 commits into
masterfrom
fix/issue-759-guard-rpcstarted-against-a-throwing-met
Oct 24, 2026
Merged

s2x merged 4 commits into
masterfrom
fix/issue-759-guard-rpcstarted-against-a-throwing-met

Conversation

@s2x

@s2x s2x commented Oct 24, 2026

Copy link
Copy Markdown
Member

Closes #759

Follow-up to #274 (already merged): the rpcCompleted() half of the RPC metric is guarded through completeRpc(), but the rpcStarted() half was not. That emission sits before the call, so a metrics backend that throws from it aborted a call that never happened and replaced the transport exception the caller has to see.

GrpcClient::startRpc() now guards it the same way completeRpc() does.

@s2x
s2x merged commit 483f450 into master Oct 24, 2026
11 checks passed
@s2x
s2x deleted the fix/issue-759-guard-rpcstarted-against-a-throwing-met branch October 24, 2026 19:53
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.

[GRPC-15] Guard the rpcStarted() emission against a throwing metrics backend

1 participant