-
-
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
SDK for Quarkus #2254
Comments
Routing to @getsentry/team-mobile for triage. ⏲️ |
Hello @henka-rl there seems to be https://github.com/quarkiverse/quarkus-logging-sentry . I'm not sure about the state of it. At the moment we don't have any concrete plans of adding any quarkus integration but if there are enough people asking for it we might look into it in the future. Which features would you like to see if we were to build an integration? |
@adinauer feel free to transfer this issue to |
Yes, I know about https://github.com/quarkiverse/quarkus-logging-sentry. But I believe that implementation just initialize Sentry. I can't see that is an automatic instrumentation for http as in your Spring Boot SDK. |
On the Quarkus side there is this issue: quarkusio/quarkus#19798 |
@henka-rl |
@LaurentTreguier I believe what @henka-rl meant was transactions as in our performance product. |
Ah, I see; that makes more sense indeed |
Yes, it's support for transactions I'm looking for. |
After some research and quite a bit of head-scratching, I managed to get something using OpenTelemetry. Here are the general steps:
This should be all that's needed; although I'm guessing the new classes should also added as reflective classes in order to work in native builds (which I haven't tested). All in all, it involves a bit of manual work; but I got call transactions in Sentry (correctly linked to issues when needed), as well as some JDBC stuff. Edit 1: the result of my experimentation is here: https://github.com/fyreplace/fyreplace-api-quarkus Edit 2 : I added a |
Thanks for sharing @LaurentTreguier. I guess the provider for |
Hello. (Apologies in advance if this question should belong in it's own thread - I can create if needs be - but is related to this one.) In the absence of a Quarkus SDK, what is the recommended way to manually instrument code for performance and error data given the reactive nature of a Quarkus app - see: https://quarkus.io/version/main/guides/mutiny-primer Specifically for the setting of tags that only relate to the current request (like a In the example below I am using the SLF4J mapped diagnostic context (MDC) to store a Is this a safe and acceptable pattern? Are there other recommendations? Thanks - Colin
|
@colin-mckenzie-addepar I'm not familiar with Quarkus but this should work in theory. Maybe another Quarkus user can help you out here in case you run into problems. |
Problem Statement
I would like Sentry to implement an SDK for Quarkus in the same way as for Spring Boot
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: