-
-
Notifications
You must be signed in to change notification settings - Fork 445
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
Automatic performance instrumentation for WebFlux #2597
Conversation
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
8ee0aeb | 299.94 ms | 349.60 ms | 49.66 ms |
a18a30a | 339.39 ms | 382.51 ms | 43.12 ms |
f78fb8d | 421.55 ms | 458.24 ms | 36.69 ms |
89d7ccf | 343.42 ms | 434.04 ms | 90.62 ms |
776fb7f | 335.74 ms | 361.26 ms | 25.52 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
8ee0aeb | 1.73 MiB | 2.34 MiB | 626.25 KiB |
a18a30a | 1.73 MiB | 2.34 MiB | 626.56 KiB |
f78fb8d | 1.73 MiB | 2.34 MiB | 626.25 KiB |
89d7ccf | 1.73 MiB | 2.34 MiB | 626.46 KiB |
776fb7f | 1.73 MiB | 2.34 MiB | 626.46 KiB |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2597 +/- ##
============================================
- Coverage 81.16% 81.16% -0.01%
- Complexity 4125 4149 +24
============================================
Files 333 335 +2
Lines 15329 15432 +103
Branches 1995 2011 +16
============================================
+ Hits 12442 12525 +83
- Misses 2101 2111 +10
- Partials 786 796 +10
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 in Codecov by Sentry. |
...samples/sentry-samples-spring-boot-webflux-jakarta/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
Hi @adinauer
Do you guys have a recommendation? |
@yhware if you're already using OpenTelemetry, you'll probably want to use our OpenTelemetry Java Agent. Otherwise feel free to give this here a try first. If you have any feedback, feel free to share 🙏 . |
Somehow the opentelemetry option is taking up a few hundred megs of memory and causing our dev containers to get OOMKilled. I enabled sentry.enable-tracing: true |
@yhware have you set sample rate to something < 1.0 or instrumenter to otel in your options? Otherwise try to enable debug, maybe that tells you something. |
We'll have to investigate memory consumption of the OTEL integration. Can you please share more details on what you did, like is it just simple HTTP request or something special? How long does it take to run OOM? What version of Spring (Boot) are you on? |
📜 Description
This adds automatic performance instrumentation for WebFlux
💡 Motivation and Context
Closes #1807
💚 How did you test it?
Manually using samples + automated tests
📝 Checklist
sendDefaultPII
is enabled.🔮 Next steps