Skip to content

Conversation

@akuzni2
Copy link
Contributor

@akuzni2 akuzni2 commented Dec 4, 2025

No description provided.

@akuzni2 akuzni2 marked this pull request as ready for review December 4, 2025 16:03
@akuzni2 akuzni2 requested a review from a team as a code owner December 4, 2025 16:03
Copilot AI review requested due to automatic review settings December 4, 2025 16:03
@akuzni2 akuzni2 requested review from a team as code owners December 4, 2025 16:03
Copy link
Contributor

Copilot AI left a 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.go to 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.

brunotm
brunotm previously approved these changes Dec 4, 2025
@cl-sonarqube-production
Copy link

@akuzni2 akuzni2 enabled auto-merge December 4, 2025 16:48
@akuzni2 akuzni2 requested a review from brunotm December 4, 2025 17:54
Copy link

@hyena22 hyena22 left a comment

Choose a reason for hiding this comment

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

LGTM!

@akuzni2 akuzni2 added this pull request to the merge queue Dec 4, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2025
* observe client transmit latency on successful Transmit calls

* update changeset

* Update silver-moles-type.md
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 4, 2025
@akuzni2 akuzni2 added this pull request to the merge queue Dec 4, 2025
Merged via the queue into develop with commit cc39f24 Dec 4, 2025
218 of 223 checks passed
@akuzni2 akuzni2 deleted the fix/llo-grpc-client-histogram-observe branch December 4, 2025 19:59
@trunk-io
Copy link

trunk-io bot commented Dec 4, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

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.

4 participants