-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Implementation for server-side baggage support and third party header handling #2226
Conversation
…y header handling in integrations
…y-java into feat/server_side_baggage
# Conflicts: # CHANGELOG.md
Codecov ReportBase: 80.62% // Head: 80.53% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2226 +/- ##
============================================
- Coverage 80.62% 80.53% -0.10%
- Complexity 3368 3393 +25
============================================
Files 240 240
Lines 12388 12461 +73
Branches 1646 1659 +13
============================================
+ Hits 9988 10035 +47
- Misses 1791 1813 +22
- Partials 609 613 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, need some more time to think about certain parts.
sentry-android-okhttp/src/test/java/io/sentry/android/okhttp/SentryOkHttpInterceptorTest.kt
Outdated
Show resolved
Hide resolved
sentry-apollo-3/src/main/java/io/sentry/apollo3/SentryApollo3HttpInterceptor.kt
Outdated
Show resolved
Hide resolved
sentry-apollo-3/src/test/java/io/sentry/apollo3/SentryApollo3InterceptorTest.kt
Show resolved
Hide resolved
sentry-openfeign/src/test/kotlin/io/sentry/openfeign/SentryFeignClientTest.kt
Outdated
Show resolved
Hide resolved
...g-boot-starter/src/test/kotlin/io/sentry/spring/boot/SentrySpanRestTemplateCustomizerTest.kt
Show resolved
Hide resolved
sentry-openfeign/src/test/kotlin/io/sentry/openfeign/SentryFeignClientTest.kt
Outdated
Show resolved
Hide resolved
…entryOkHttpInterceptorTest.kt Co-authored-by: Alexander Dinauer <adinauer@users.noreply.github.com>
…ng headers, remove unused parameter in test
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3d89dea | 322.38 ms | 350.82 ms | 28.45 ms |
1e4690d | 354.69 ms | 387.88 ms | 33.19 ms |
3d89dea | 345.59 ms | 364.06 ms | 18.47 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
3d89dea | 1.74 MiB | 2.33 MiB | 604.92 KiB |
1e4690d | 1.74 MiB | 2.33 MiB | 604.92 KiB |
3d89dea | 1.74 MiB | 2.33 MiB | 604.92 KiB |
LGTM! @marandaneto do you want to give this a glance since you've seen multiple DS implementations and may notice if something's different here. |
sentry-android-okhttp/src/main/java/io/sentry/android/okhttp/SentryOkHttpInterceptor.kt
Show resolved
Hide resolved
@@ -389,4 +316,34 @@ private Exception missingRequiredFieldException(String field, ILogger logger) { | |||
return exception; | |||
} | |||
} | |||
|
|||
@Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is needed for testing, I'd rather check the equality field per field, adding such methods increase the bundle size, and its not needed at runtime.
|
Looks like this can be merged now. @marandaneto should I go ahead an merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lbloder
Implements server side baggage support and handling of third party baggage headers
📜 Description
💡 Motivation and Context
Fixes #2085
💚 How did you test it?
📝 Checklist
🔮 Next steps