-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Listen to PosixSignalRegistration
for events
#1122
Comments
Oh wow, this is actually pretty neat! I wonder if we can rely on this as well to avoid event duplication when relying on native SDKs, i.e. #3545 (comment) |
Looks like these are the signals you can register handlers for:
I take it we're looking at ways to ensure a more graceful shutdown of Sentry when the app is about to exit here (so maybe trying to send some events rather than dump these to a file and sending them on the next program execution)? Or is there something else we could do with these? |
Thanks for digging those up! I think we're going to have to look at what we can do first.
|
Different signals can be now received in .NET 6 through
PosixSignalRegistration
.We can rely on this to close a session, flush events, add breadcrumbs etc.
This task involves exploring which events are available, what are the limitations (allocations, timing, opening connections?) with regards to code we can run in there and come out with what we can build on top of it.
See: dotnet/runtime#50527
The text was updated successfully, but these errors were encountered: