sentry-go icon indicating copy to clipboard operation
sentry-go copied to clipboard

Add grpc interceptors

Open ribice opened this issue 1 year ago • 1 comments

Closes #240

Sample error logged to Sentry:

CleanShot 2024-12-27 at 09 52 53

Possible improvements / todos:

  • Create docs in sentry and sentry-docs
  • The options is a simple struct (as in other integrations). Could implement Functional Options Pattern for these.
  • More tests and examples?

ribice avatar Dec 27 '24 08:12 ribice

Codecov Report

Attention: Patch coverage is 95.85799% with 7 lines in your changes missing coverage. Please review.

Project coverage is 84.32%. Comparing base (6b014ea) to head (6b3eefb). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
grpc/server.go 94.30% 5 Missing and 2 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #938      +/-   ##
==========================================
+ Coverage   84.00%   84.32%   +0.31%     
==========================================
  Files          50       52       +2     
  Lines        5171     5340     +169     
==========================================
+ Hits         4344     4503     +159     
- Misses        673      680       +7     
- Partials      154      157       +3     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Dec 27 '24 09:12 codecov[bot]