Closed Bug 1218751 Opened 9 years ago Closed 9 years ago

Add os_pretty_name to processed crash

Categories

(Socorro :: Backend, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrian, Assigned: adrian)

References

Details

Attachments

(2 files)

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".
I'd actually say that's a pretty version, not a pretty name, but that's just bikeshedding :)
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!
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
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
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 → ---
Blocks: 1221948
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
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: