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

Application mode Sessions by default (between Init and Close) #1054

Closed
3 tasks done
bruno-garcia opened this issue Jun 14, 2021 · 0 comments
Closed
3 tasks done

Application mode Sessions by default (between Init and Close) #1054

bruno-garcia opened this issue Jun 14, 2021 · 0 comments
Labels

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Jun 14, 2021

Sentry Native introduced a session mode called "application mode session". It's defined by a session which starts when the SDK is initialized and it ends when the process exits.

Docs for it are here: https://docs.sentry.io/platforms/native/configuration/releases/#release-health

typically just a single session from application start to quit

More on the spec: https://develop.sentry.dev/sdk/sessions/

We need to make sure that:

  • Add an option: EnableAutoSessionTracking with default false until our next major, where we'll flip the default to true.
  • Unhandled exceptions (marked as handled: false) finish the session as crashed.
  • When the SDK is disposed, sessions are closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants