support Breadcrumbs crash annotation
Categories
(Socorro :: Webapp, task, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
The Android Components crash reporter can send a Breadcrumbs
annotation:
https://hg.mozilla.org/mozilla-central/file/tip/toolkit/crashreporter/CrashAnnotations.yaml#l168
We should support this in the Crash Stats interface.
I haven't looked at the data, but I'd bet it's PII and shouldn't be public. I don't know where in the Crash Stats interface we should put this. Maybe below the stack trace on the report view Details tab.
Assignee | ||
Comment 1•4 years ago
|
||
Making this a P2 to look at soon.
Assignee | ||
Comment 2•3 years ago
|
||
Breadcrumbs
annotation is a JSON-encoded string that decodes to a list. Here's an example item:
{
'timestamp': '2021-01-07T16:09:31',
'message': 'onCreate()',
'category': 'HomeActivity',
'level': 'Info',
'type': 'Default',
'data': {
'recreated': 'false',
'intent': 'android.intent.action.MAIN',
'instance': '197508829'
}
}
We mimicked what the Sentry client sends Sentry. I'll look at how Sentry displays it and probably do something similar and put it under the stack on the Details page.
I will mark it as protected data.
I won't make it searchable in this bug. We can do that in a different bug if someone has use cases for searching this data.
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Sentry's Breadcrumbs documentation: https://develop.sentry.dev/sdk/event-payloads/breadcrumbs/
While working on things, I noticed that Sentry has an additional intermediary "values". I added handling for both forms and normalizes to breadcrumbs -> list of items.
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Comment 6•3 years ago
|
||
I pushed this to prod just now in bug #1686730.
Description
•