Closed Bug 1430115 Opened 6 years ago Closed 6 years ago

all_children change wasn't backwards-compatible, causes upstream headaches

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1363725
Tracking Status
firefox59 --- affected

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(1 obsolete file)

bug 1363725 introduced what seemed like a harmless patch that improved the grammar of working with Telemetry.

It wasn't so harmless, unfortunately, as now the modern parsing scripts will fail to parse historical .json/.yaml files, and historical parsing scripts will fail to parse modern .json/.yaml files.

We need to make this change backwards-compatible _and_ update upstream consumers (probe-scraper, moztelemetry) with the changed script.
Comment on attachment 8942176 [details]
bug 1430115 - Add back historical record_in_processes value 'all_childs'

https://reviewboard.mozilla.org/r/212456/#review218176
Attachment #8942176 - Flags: review?(alessio.placitelli) → review+
Comment on attachment 8942176 [details]
bug 1430115 - Add back historical record_in_processes value 'all_childs'

https://reviewboard.mozilla.org/r/212456/#review218180

::: toolkit/components/telemetry/shared_telemetry_utils.py:24
(Diff revision 1)
>      'all': 'All',
>      'all_children': 'AllChildren',
>      'main': 'Main',
>      'content': 'Content',
>      'gpu': 'Gpu',
> +    'all_childs': 'AllChildren',

Let's mark this as a "legacy" value or something, so that people reading code know
Comment on attachment 8942176 [details]
bug 1430115 - Add back historical record_in_processes value 'all_childs'

With bug 1363725's revert, this patch will no longer apply.

We need a considered plan for how to update the upstream consumers of the json+yaml files so that when we change their format, we update those consumers with backwards-compatible tools.
Attachment #8942176 - Attachment is obsolete: true
Might be a case to update moztelemetry to the probe info service.
Flags: needinfo?(chutten)
All the work's being done in bug 1363725
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(chutten)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: