-
Notifications
You must be signed in to change notification settings - Fork 1.9k
LLO Transmit Client Metric Fix #20520
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
Conversation
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.
Pull request overview
This PR fixes a bug in the LLO transmit client metrics logic where the transmit duration metric was only being recorded for failed transmissions instead of successful ones.
Key Changes:
- Corrected conditional logic in
client.goto record metrics on successful transmits (err == nil) instead of failed ones (err != nil)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
core/services/llo/grpc/client.go |
Fixed the error check condition from err != nil to err == nil to record metrics on successful transmits |
.changeset/silver-moles-type.md |
Added changeset documenting the bug fix |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
hyena22
left a comment
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.
LGTM!
* observe client transmit latency on successful Transmit calls * update changeset * Update silver-moles-type.md




No description provided.