-
-
Notifications
You must be signed in to change notification settings - Fork 32
Conversation
Codecov Report
@@ Coverage Diff @@
## master #267 +/- ##
============================================
- Coverage 57.32% 57.27% -0.06%
Complexity 581 581
============================================
Files 73 73
Lines 2779 2785 +6
Branches 237 235 -2
============================================
+ Hits 1593 1595 +2
- Misses 1068 1072 +4
Partials 118 118
Continue to review full report at Codecov.
|
One might come and ask not to have all threads sent at all. Which would happen for captureException even if attachStacktrace false. And not have attachStacktrace at all? |
sentry-core/src/main/java/io/sentry/core/MainEventProcessor.java
Outdated
Show resolved
Hide resolved
I'd agree that either we change its name from I believe @HazAT do you have opinions? |
Let's leave it like this, for now, it's very rare that a user would like to have all threads mostly they are interested in the thread they called this from. |
@marandaneto Adding Threads (themselves and their stack traces) adds a lot of data and I can see people might be asking an opt-out for that. @HazAT Right now we're adding all threads. I believe our guideline says we should opt-in to features like this and let users opt-out if they don't want it. I'm proposing not adding |
I think it should be opt-in and not opt-out, as you just stated, it's a lot of data and mostly irrelevant if it's just a
So I agree that we need an |
We can leave it off by default too, but the attachThreads (non "unified") enabled by default. |
implemented as discussed, the different thing is, it's detached to |
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.
awesome!
📢 Type of change
📜 Description
feat: attach stacktraces
💡 Motivation and Context
attach stacktraces is disabled by default, but it should have a flag to opt-in.
right now is enabled by default and there's no opt-out.
💚 How did you test it?
unit test.
📝 Checklist
🔮 Next steps