All users were logged out of Bugzilla on October 13th, 2018

Add os_pretty_name to processed crash

RESOLVED FIXED

Status

P1
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: adrian, Assigned: adrian)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

3 years ago
In our Postgres database, we have some logic to transform an os_name / os_version couple into a nicer OS name. So something like "Windows" + "10.2.13.7600" would turn into "Windows 10" for example. 

To implement the Signature Summary features into Signature report, I need to have that data in Elasticsearch. The easiest way to do so is to compute that "pretty" name in the processors and inject the data into the processed crash. This way the data is directly available and can be used for other purposes as well, like in Super Search. 

I am going to add a processor rule that will generate that pretty OS name based on the crash data, and inject it in the processed crash in a field called "os_pretty_name".

Comment 1

3 years ago
I'd actually say that's a pretty version, not a pretty name, but that's just bikeshedding :)
(Assignee)

Comment 2

3 years ago
Now is the best time to decide on a better name, so if you say 'os_pretty_version' makes more sense, I can change it!

Comment 4

3 years ago
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/f4581df9c0bc19abc43a36286c712f1be34c5aa3
Fixes bug 1218751 - Added a rule to inject pretty OS version into the processed crash. r=twobraids

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Assignee)

Comment 5

3 years ago
The platform name on production is "Windows NT" and not "Windows". The rule works, but never gets to do its logic for those windows crashes.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Updated

3 years ago
Blocks: 1221948

Comment 7

3 years ago
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/cdf3f1e503240bf68175bc60f5135963db6b744a
Fixes bug 1218751 - Use Windows NT instead of just Windows. r=peterbe

Updated

3 years ago
Status: REOPENED → RESOLVED
Last Resolved: 3 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.