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

Add an Ox/direct-style-compatible OpenTelemetry tracing backend #2314

Open
adamw opened this issue Oct 16, 2024 · 3 comments
Open

Add an Ox/direct-style-compatible OpenTelemetry tracing backend #2314

adamw opened this issue Oct 16, 2024 · 3 comments

Comments

@adamw
Copy link
Member

adamw commented Oct 16, 2024

Currently sttp-client only ships with OT+ZIO tracing integration.

The goal of the issue is to create a new module, opentelemetry-tracing-sync-backend, which will provide integration with blocking/direct-style OpenTelemetry tracing, as well as reference documentation showcasing how to use the module.

Moreover, a first step is to suggest a way of propagating the context (setting appropriate headers, including identifiers/correlation ids) that is compatible with virtual threads & scoped values, as used by Loom and Ox. Note that the the OT Java libraries often rely on ThreadLocals, which are not Loom-compatible.

See also softwaremill/tapir#4103

@adamw
Copy link
Member Author

adamw commented Oct 16, 2024

/bounty $750

Copy link

algora-pbc bot commented Oct 16, 2024

💎 $750 bounty • SoftwareMill

Steps to solve:

  1. Start working: Comment /attempt #2314 with your implementation plan
  2. Submit work: Create a pull request including /claim #2314 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

Thank you for contributing to softwaremill/sttp!

Add a bountyShare on socials

@varshith257
Copy link

Once #2314 is done I will jump here to tackle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants