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

Dynamic Sampling Support for Java #2205

Closed
zoesyc opened this issue Aug 4, 2022 · 2 comments · Fixed by #2255
Closed

Dynamic Sampling Support for Java #2205

zoesyc opened this issue Aug 4, 2022 · 2 comments · Fixed by #2255
Assignees
Labels
enhancement New feature or request Platform: Java

Comments

@zoesyc
Copy link
Member

zoesyc commented Aug 4, 2022

Description

In July, we added DS support for Android OkHttp. Here are some PRs created in the process: https://github.com/getsentry/sentry-java/pulls?q=is%3Apr+sort%3Aupdated-desc+baggage+is%3Aclosed.

https://develop.sentry.dev/sdk/performance/dynamic-sampling-context/

We want to extend the support to HTTP clients that we support, including OpenFeign, RestTemplate, apollo, etc.

Additionally, we need server-side support, meaning Spring and SpringBoot. We've built this for Python and Node so far - example:

Main goals:

  • Add baggage information to outgoing HTTP requests
  • Context required for DS is included in the envelope headers
@adinauer
Copy link
Member

adinauer commented Aug 5, 2022

We're already sending out the baggage header, what's missing is server side baggage support to pass through incoming baggage. For that we have #2085 to track.

Integrations already supporting outgoing baggage header:

Is there something else missing?

@adinauer
Copy link
Member

adinauer commented Aug 5, 2022

Ah looks like we missed Spring RestTemplate, here's the PR to add it: #2206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Platform: Java
Projects
Archived in project
Status: GA 🚀
4 participants