sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Add baggage header to RestTemplate

Open adinauer opened this issue 3 years ago • 1 comments

:scroll: Description

Add baggage header to outgoing RestTemplate calls.

:bulb: Motivation and Context

To support Dynamic Sampling for outgoing requests using RestTemplate

See #2205

:green_heart: How did you test it?

Unit Test

:pencil: Checklist

  • [ ] I reviewed the submitted code
  • [ ] I added tests to verify the changes
  • [ ] I updated the docs if needed
  • [ ] No breaking changes

:crystal_ball: Next steps

adinauer avatar Aug 05 '22 06:08 adinauer

Codecov Report

Merging #2206 (b262c15) into main (7dd32c0) will decrease coverage by 0.01%. The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main    #2206      +/-   ##
============================================
- Coverage     80.65%   80.63%   -0.02%     
  Complexity     3355     3355              
============================================
  Files           240      240              
  Lines         12324    12327       +3     
  Branches       1633     1634       +1     
============================================
  Hits           9940     9940              
- Misses         1778     1781       +3     
  Partials        606      606              
Impacted Files Coverage Δ
...racing/SentrySpanClientHttpRequestInterceptor.java 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Aug 05 '22 06:08 codecov-commenter