Bug 1562947 - Snapshot events from all channels' datasets in about:telemetry r=janerik

Differential Revision: https://phabricator.services.mozilla.com/D36633

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris H-C 2019-07-02 17:09:39 +00:00
Родитель 2743e4a6b7
Коммит bd38ff4819
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -381,7 +381,7 @@ var PingPicker = {
delete ping.payload.keyedHistograms;
// augment ping payload with event telemetry
let eventSnapshot = Telemetry.snapshotEvents(Telemetry.DATASET_RELEASE_CHANNEL_OPTIN, false);
let eventSnapshot = Telemetry.snapshotEvents(Telemetry.DATASET_PRERELEASE_CHANNELS, false);
for (let process of Object.keys(eventSnapshot)) {
if (process in ping.payload.processes) {
ping.payload.processes[process].events = eventSnapshot[process].filter(e => !e[1].startsWith("telemetry.test"));