Permify / permify

An open-source authorization as a service inspired by Google Zanzibar, designed to build and manage fine-grained and scalable authorization systems for any application.
https://docs.permify.co/
Apache License 2.0
4.68k stars 206 forks source link

Support exporting OTLP over gRPC #1090

Closed jbergstroem closed 1 month ago

jbergstroem commented 7 months ago

Is your feature request related to a problem? Please describe. The OTLP exporter for tracers, logs and metrics currently are hardcoded to use HTTP. It would be great if it optionally supported gRPC as well:

https://github.com/Permify/permify/blob/c4e26ce817144687671abee51c0d0df3b40736e5/pkg/telemetry/meterexporters/otlp.go#L11-L15

Describe the solution you'd like

  1. expand the meter/logging/tracing config with a sub object called oltp containing protocol (if this is the only option that supports gRPC. If supported by multiple libraries I'd keep it at the top level.
  2. branch on above option (which defaults to http) and invoke the different exporter.

Describe alternatives you've considered Stick with HTTP

tolgaOzen commented 7 months ago

/bounty $200

algora-pbc[bot] commented 7 months ago

💎 $200 bounty • Permify.co

Steps to solve:

  1. Start working: Comment /attempt #1090 with your implementation plan
  2. Submit work: Create a pull request including /claim #1090 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Don't wait to be assigned. A reward will be given for the best PR.

Thank you for contributing to Permify/permify!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @berkeli Feb 27, 2024, 6:21:43 PM WIP
🟢 @avanaur Apr 21, 2024, 10:05:39 AM #1197
🟢 @vikashsprem Aug 24, 2024, 1:20:58 AM #1490
mohanish2504 commented 7 months ago

Can i attempt

ghost commented 7 months ago

Hi, can I work on this?

berkeli commented 7 months ago

/attempt 1090

Algora profile Completed bounties Tech Active attempts Options
@berkeli 2 Permify bounties
HTML, JavaScript,
Shell & more
Cancel attempt
tolgaOzen commented 7 months ago

Hello @mohanish2504, I had assigned you, but we've decided to proceed differently. From now on, let anyone /attempt and submit PRs without needing to be assigned and we will reward the best PR.

avanaur commented 5 months ago

/attempt #1090

algora-pbc[bot] commented 5 months ago

💡 @avanaur submitted a pull request that claims the bounty. You can visit your bounty board to reward.

vikashsprem commented 1 month ago

@tolgaOzen, is this issue I prioritize?

vikashsprem commented 1 month ago

/attempt #1090

algora-pbc[bot] commented 1 month ago

💡 @vikashsprem submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] commented 1 month ago

@vikashsprem: You've been awarded a $220 bounty by Permify! 👉 Complete your Algora onboarding to collect the bounty.

algora-pbc[bot] commented 1 month ago

🎉🎈 @vikashsprem has been awarded $220! 🎈🎊