-
-
Notifications
You must be signed in to change notification settings - Fork 32
Unnecessary noise reported in stack traces in Sentry 2.0.0 #359
Comments
hey @mrmitew thanks for your message. By default, only the package of your App. will be shown on the UI, See: You can also customize that setting: See https://docs.sentry.io/platforms/android/ Does that help you? thanks. |
Thank you for your answer @marandaneto But I don't see 'App only' option. If I use the |
it just hides on the UI, stack traces are still sent. This button won't be shown if all frames are inApp or not-inApp, which might be the cause to not be shown. by default, we do Try adding all of your root packages that differ from your packageName. eg your applicationId is I'd recommend calling |
But But in any case.. why is this considered as important to report: at dalvik.system.VMStack.getThreadStackTrace(VMStack.java)
at java.lang.Thread.getStackTrace(Thread.java:1567)
at java.lang.Thread.getAllStackTraces(Thread.java:1617)
at io.sentry.core.SentryThreadFactory.getCurrentThreads(SourceFile:38)
at io.sentry.core.MainEventProcessor.processNonCachedEvent(SourceFile:75)
at io.sentry.core.MainEventProcessor.process(SourceFile:49)
at io.sentry.core.SentryClient.io.sentry.core.ISentryClient.captureEvent(SourceFile:91)
at io.sentry.core.SentryClient.io.sentry.core.ISentryClient.captureException(SourceFile:1119)
at io.sentry.core.Hub.io.sentry.core.IHub.captureException(SourceFile:144)
at io.sentry.core.Hub.io.sentry.core.IHub.captureException(SourceFile:1073)
at io.sentry.core.Sentry.captureException(SourceFile:205) That's unnecessary bytes sent over the internet. Is it going to be differ per event? Does not bring any value for the developer, unless its a crash caused by Sentry itself. Personally I like reading the raw stack trace and this just adds way too much noise in my opinion :( |
you probably captured an exception which is also not |
it's a way of tracking down our own issues, as we can't really have our own, you can filter them using the |
@mrmitew did the answers above helped you? |
It should be in-app, because it has the same package name as the app. So there should be another reason I guess.
But if it is an exception, thrown by the app, and not by Sentry, why are they still sent? Can't the thread stacktrace be separated from the stack trace of the thrown exception? It only adds noise to the non sentry developers. |
so please share the org and project or a raw event json, if this is the case, we have a bug, but so far I could not reproduce it, also a sample repro would help, thanks.
I kinda agree and would understand it as an improvement, but this has not changed, the old version also sends all the frames afaik. |
after digging into it, this feature is opt-in by default on Please upgrade the SDK to min. |
Platform:
build tools: 29.0.2
compileSdk: 28
IDE:
Build system:
Android Gradle Plugin:
Sentry Android Gradle Plugin:
Proguard/R8:
sentry-android installed with:
The version of sentry-android:
2.0.0
I have the following issue:
Since upgrading Sentry's SDK version to 2.0.0, stack traces for all events contain 10 unnecessary, just "noise-making" traces.
Steps to reproduce:
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: