Skip to content
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

Fix gRPC status tracking #51

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Conversation

grcevski
Copy link
Contributor

I found a bug in the tracking of the gRPC status. We were reading the wrong argument register, plus I had never put the value of the status in the trace record, so it was correctly recording 0 :-), without doing anything. The status is initialized at -1 to catch this sort of a problem, but unfortunately I never copied it to be in the event.

@grcevski grcevski added the bug Something isn't working label Apr 12, 2023
@grcevski grcevski requested a review from mariomac April 12, 2023 20:50
@codecov-commenter
Copy link

Codecov Report

Merging #51 (8c2fa98) into main (bc2f549) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #51   +/-   ##
=======================================
  Coverage   51.24%   51.24%           
=======================================
  Files          14       14           
  Lines         927      927           
=======================================
  Hits          475      475           
  Misses        415      415           
  Partials       37       37           
Flag Coverage Δ
unittests 51.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@grcevski grcevski merged commit d41cb3e into grafana:main Apr 13, 2023
2 checks passed
@grcevski
Copy link
Contributor Author

Thanks Mario!

@grcevski grcevski deleted the fix_grpc_status branch April 13, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants