permify icon indicating copy to clipboard operation
permify copied to clipboard

Support exporting OTLP over gRPC

Open jbergstroem opened this issue 11 months ago • 9 comments

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

jbergstroem avatar Feb 27 '24 17:02 jbergstroem

/bounty $200

tolgaOzen avatar Feb 27 '24 18:02 tolgaOzen

💎 $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 bountyShare 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

algora-pbc[bot] avatar Feb 27 '24 18:02 algora-pbc[bot]

Can i attempt

mohanish2504 avatar Feb 27 '24 18:02 mohanish2504

Hi, can I work on this?

ghost avatar Feb 27 '24 18:02 ghost

/attempt 1090

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

berkeli avatar Feb 27 '24 18:02 berkeli

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.

Options

tolgaOzen avatar Feb 27 '24 20:02 tolgaOzen

/attempt #1090

Options

avanaur avatar Apr 21 '24 10:04 avanaur

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

algora-pbc[bot] avatar Apr 21 '24 10:04 algora-pbc[bot]

@tolgaOzen, is this issue I prioritize?

vikashsprem avatar Aug 24 '24 00:08 vikashsprem

/attempt #1090

Options

vikashsprem avatar Aug 24 '24 01:08 vikashsprem

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

algora-pbc[bot] avatar Aug 24 '24 11:08 algora-pbc[bot]

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

algora-pbc[bot] avatar Aug 24 '24 17:08 algora-pbc[bot]

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

algora-pbc[bot] avatar Aug 24 '24 17:08 algora-pbc[bot]