-
-
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
✨ Where is Profiling on the Spring Boot / Java feature roadmap? #2907
Comments
hi @bjornharvold, thanks for using and loving Sentry. There's some work going on wrt JVM profiling right now, you can track the progress and discussions in #2635. It's not quite the same as Android profiling, because Android has its own VM and profiler, but certainly some ground work has been performed for ingesting profiles from the Java SDK. I'm going to close this as dupe of #2635 but feel free to comment here (or on the linked issue) if you'd need more information. |
Hello @bjornharvold, we've added Sentry Performance for WebFlux in |
Hi @adinauer Yes, I can see Sentry uses OpenTelemetry for capturing performance in a webflux environment. The instructions are a bit blurry though. Could you possibly add an example of this here: https://github.com/getsentry/sentry-java/tree/main/sentry-samples. Currently, I read through this post https://www.baeldung.com/spring-boot-opentelemetry-setup and there seems to be a lot going on to get OpenTelemetry started. Is it as simple as adding:
to my Maven project and adding sentry.dsn & sentry.traces-sample-rate to my application.properties file? Thank you, |
@bjornharvold while it's still possible to use Sentry and OpenTelemetry for Spring WebFlux, you no longer need OpenTelemetry as of |
Oh and if you'd still like to go ahead with OpenTelemetry, we have some docs available. |
Thank you. That was NOT clear in the documentation here: https://docs.sentry.io/platforms/java/guides/spring-boot/webflux/. No, I do not want to use OpenTelemetry if not necessary. So enabling Sentry Performance in webflux is now the same as a regular Spring Boot non-reactive configuration? Cheers 🍺 |
So we are running Clojure web app and loving Sentry. Since Clojure runs on the JVM, is there any future roadmap towards supporting profiling for 'other JVM languages'? Or can it never be so generic, as in, do you always need information about what framework is used etc, seeing the mention of Spring Boot and others. |
@Kah0ona are you interested in our Performance product including distributed tracing or Profiling? For Performance we'd either need to add support for each specific framework to create transactions / spans and forward / receive tracing information or you can try our OpenTelemetry integration which supports more libraries. For Profiling it should work framework agnostic as it only shows you which methods are slow. Whether this would require extra integrations for each framework depends on implementation details of a feature not yet implemented (#2635 ). As far as I know you need a transaction for it. |
Problem Statement
As a fan of OpenZipkin, I am also a Sentry fanboy. Wondering when the Profiling feature will hit Spring Boot. According to your docs, it's currently only available for Android [which should make it an easy port to the rest of the Java ecosystem].
Also, Sentry Performance for webflux / reactive Spring Boot apps is highly desired.
A Feature Roadmap for each language ecosystem would be nice.
Regards,
Bjorn
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: