Skip to content

Grpc interceptor slogger#24

Merged
veqryn merged 30 commits intomainfrom
grpc_interceptor
Apr 4, 2025
Merged

Grpc interceptor slogger#24
veqryn merged 30 commits intomainfrom
grpc_interceptor

Conversation

@veqryn
Copy link
Copy Markdown
Owner

@veqryn veqryn commented Dec 17, 2024

Create slogctx grpc interceptors for server/client and unary/streaming.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 17, 2024

Codecov Report

Attention: Patch coverage is 91.83673% with 48 lines in your changes missing coverage. Please review.

Project coverage is 92.17%. Comparing base (43d8580) to head (9f13ad5).
Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
grpc/config.go 73.62% 20 Missing and 4 partials ⚠️
grpc/interceptor.go 95.44% 10 Missing and 5 partials ⚠️
grpc/parse.go 85.00% 4 Missing and 2 partials ⚠️
grpc/util.go 78.57% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
- Coverage   92.81%   92.17%   -0.65%     
==========================================
  Files           9       14       +5     
  Lines         306      894     +588     
==========================================
+ Hits          284      824     +540     
- Misses         16       52      +36     
- Partials        6       18      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@akardos-zscaler
Copy link
Copy Markdown

LGTM! I can't approve.

@jaredscheib
Copy link
Copy Markdown

I'm interested in this @veqryn. Does what I'm looking for with gRPC. Think this'll go anywhere soon? 🙏🏼

@veqryn
Copy link
Copy Markdown
Owner Author

veqryn commented Mar 13, 2025

Heh, we are using it in production for a while now. I just forgot about merging it. I think I wanted to add a bit more test coverage or documentation or something. Will look into it this weekend hopefully.

@jaredscheib
Copy link
Copy Markdown

jaredscheib commented Mar 13, 2025 via email

@veqryn veqryn force-pushed the grpc_interceptor branch from 193307b to 9f13ad5 Compare April 3, 2025 23:59
@veqryn veqryn merged commit d589de3 into main Apr 4, 2025
28 checks passed
@veqryn veqryn deleted the grpc_interceptor branch April 4, 2025 00:02
@veqryn
Copy link
Copy Markdown
Owner Author

veqryn commented Apr 4, 2025

@jaredscheib hey! Sorry for the delay again. I added a couple missing features and quite a bit of documentation, and merged.
Please give it a try and let me know how you like it!

@jaredscheib
Copy link
Copy Markdown

Awesome! Thanks so much. Aiming to try it out soon and will update you!

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