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

Replace RestTemplate with OkHttp for system tests #4239

Open
wants to merge 3 commits into
base: feat/add-distributed-tracing-system-tests-to-more-modules
Choose a base branch
from

Conversation

adinauer
Copy link
Member

@adinauer adinauer commented Mar 6, 2025

#skip-changelog

📜 Description

Replace RestTemplate with OkHttp for system tests

💡 Motivation and Context

RestTemplates raw status code is deprecated so this would cause some headaches when adding support for Spring 7 (Spring Boot 4). Replacing it should get rid of the problem.

💚 How did you test it?

📝 Checklist

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Copy link
Contributor

github-actions bot commented Mar 6, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 941f1d5

Copy link
Contributor

github-actions bot commented Mar 6, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 427.41 ms 462.78 ms 35.37 ms
Size 1.58 MiB 2.21 MiB 641.82 KiB

Baseline results on branch: feat/add-distributed-tracing-system-tests-to-more-modules

Startup times

Revision Plain With Sentry Diff
b081a72 427.87 ms 490.38 ms 62.50 ms

App size

Revision Plain With Sentry Diff
b081a72 1.58 MiB 2.21 MiB 641.83 KiB

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

Successfully merging this pull request may close these issues.

3 participants