Closed
Bug 1458643
Opened 8 years ago
Closed 8 years ago
os name for crash pings on fennec is "Linux", could it be Android?
Categories
(Firefox for Android Graveyard :: Metrics, enhancement)
Firefox for Android Graveyard
Metrics
Tracking
(firefox61 fixed)
RESOLVED
FIXED
Firefox 61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: wlach, Assigned: gsvelto)
Details
Attachments
(1 file)
It appears that the OS for crash pings sent by fennec is specified as Linux. It would be nice if this were "Android", to match the core ping. This would save a bit of etl code inside our error aggregator (https://github.com/mozilla/telemetry-streaming/pull/129)
It appears that the telemetry environment things that the operating system is Linux, which might make this a bit annoying:
https://searchfox.org/mozilla-central/rev/795575287259a370d00518098472eaa5b362bfa7/mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryCrashPingBuilder.java#102
:gsvelto, do you have any ideas here? Or should we just try to live with things as they are?
Flags: needinfo?(gsvelto)
| Assignee | ||
Comment 1•8 years ago
|
||
The core ping builder hardcodes the os name as "Android" [1]. My guess is that this was done because otherwise the platform is indistinguishable from Linux. I think we can do the some for the crash ping, being consistent is always less confusing. Patch coming.
[1] https://searchfox.org/mozilla-central/rev/795575287259a370d00518098472eaa5b362bfa7/mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryCorePingBuilder.java#57
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Flags: needinfo?(gsvelto)
Comment 2•8 years ago
|
||
Note that this would make historical aggregates in both error_aggregator and crash_aggregates different, and would mean the aggregates would be different while the change rode the trains. We can solve that in the ETL layer, but we should check if there are any other users of the Fennec crash ping data.
| Assignee | ||
Comment 3•8 years ago
|
||
Fennec crash ping data is quite new and I haven't seen it used in the dashboards yet so IMHO it's a good idea to do the change soon. I leave it up to you though, I'll post the patch and if there's consensus for it we can land it.
| Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #3)
> Fennec crash ping data is quite new and I haven't seen it used in the
> dashboards yet so IMHO it's a good idea to do the change soon. I leave it up
> to you though, I'll post the patch and if there's consensus for it we can
> land it.
I am not aware of any dashboards which make use of the fennec crash ping data. This would affect crash_aggregates but I haven't heard of anything which uses the fennec portion of that.
Do you know of anything :chutten?
Flags: needinfo?(chutten)
| Assignee | ||
Comment 5•8 years ago
|
||
BTW what I'm proposing is to override the environment.system.os.name field to use "Android" in the crash ping builder. Or was this bug meant to change the way that field is populated within the telemetry core code itself?
| Reporter | ||
Comment 6•8 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #5)
> BTW what I'm proposing is to override the environment.system.os.name field
> to use "Android" in the crash ping builder. Or was this bug meant to change
> the way that field is populated within the telemetry core code itself?
No, this bug is just about the functionality rather than code layout.
Comment 7•8 years ago
|
||
(In reply to William Lachance (:wlach) (use needinfo!) from comment #4)
> (In reply to Gabriele Svelto [:gsvelto] from comment #3)
> > Fennec crash ping data is quite new and I haven't seen it used in the
> > dashboards yet so IMHO it's a good idea to do the change soon. I leave it up
> > to you though, I'll post the patch and if there's consensus for it we can
> > land it.
>
> I am not aware of any dashboards which make use of the fennec crash ping
> data. This would affect crash_aggregates but I haven't heard of anything
> which uses the fennec portion of that.
>
> Do you know of anything :chutten?
I haven't written any, at the very least :)
And also I haven't heard of any being written. Might be worth adding in :frank to this discussion given his mobile dealings in the recent past.
Flags: needinfo?(chutten) → needinfo?(fbertsch)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 9•8 years ago
|
||
The attached patch overrides the OS name as I described in comment 5. This is an example crash ping obtained with the change applied: https://jsoneditoronline.org/?id=be683f26b6ca49e0bcca0939cde8cd46
William, is this what you expected?
Flags: needinfo?(wlachance)
Comment 10•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8973065 [details]
Bug 1458643 - Use 'Android' as the OS name for Fennec crash pings;
https://reviewboard.mozilla.org/r/241596/#review247432
Attachment #8973065 -
Flags: review?(nchen) → review+
| Reporter | ||
Comment 11•8 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #9)
> The attached patch overrides the OS name as I described in comment 5. This
> is an example crash ping obtained with the change applied:
> https://jsoneditoronline.org/?id=be683f26b6ca49e0bcca0939cde8cd46
>
> William, is this what you expected?
Yup, exactly what I'd expect.
Flags: needinfo?(wlachance)
Comment 12•8 years ago
|
||
I looked through and didn't find anything other than the ones I mentioned.
Flags: needinfo?(fbertsch)
| Assignee | ||
Comment 13•8 years ago
|
||
Good, let's land this.
Comment 14•8 years ago
|
||
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c6468b1512e
Use 'Android' as the OS name for Fennec crash pings; r=jchen
Comment 15•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•