-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
feat: Breadcrumbs for sessions #1263
Conversation
|
Codecov Report
@@ Coverage Diff @@
## main #1263 +/- ##
==========================================
+ Coverage 81.82% 81.83% +0.01%
==========================================
Files 212 212
Lines 7070 7075 +5
Branches 1396 1396
==========================================
+ Hits 5785 5790 +5
Misses 845 845
Partials 440 440
Continue to review full report at Codecov.
|
src/Sentry/GlobalSessionManager.cs
Outdated
@@ -398,6 +402,8 @@ public IReadOnlyList<SessionUpdate> ResumeSession() | |||
return Array.Empty<SessionUpdate>(); | |||
} | |||
|
|||
AddSessionBreadcrumb("Resuming Session"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about being specific that this is a Sentry session?
AddSessionBreadcrumb("Resuming Session"); | |
AddSessionBreadcrumb("Sentry resuming session"); |
Lucas offered to tidy up the missing notes and merge this one. Thank |
With debug logging disabled sessions leave no trace. I took
Type
andCategory
from the Java SDK: https://github.com/getsentry/sentry-java/blob/main/sentry-android-core/src/main/java/io/sentry/android/core/LifecycleWatcher.java#L130-L137