mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 09:54:42 +00:00
Bug 1837230 - Instrument an early event for FOG validation r=perry.mcmanis,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D180364
This commit is contained in:
parent
bcbcd41ab6
commit
525ad5b534
@ -1043,6 +1043,13 @@ nsDefaultCommandLineHandler.prototype = {
|
|||||||
handle: function dch_handle(cmdLine) {
|
handle: function dch_handle(cmdLine) {
|
||||||
var urilist = [];
|
var urilist = [];
|
||||||
|
|
||||||
|
if (cmdLine && cmdLine.state == Ci.nsICommandLine.STATE_INITIAL_LAUNCH) {
|
||||||
|
// Since the purpose of this is to record early in startup,
|
||||||
|
// only record on launches, not already-running invocations.
|
||||||
|
Services.telemetry.setEventRecordingEnabled("telemetry", true);
|
||||||
|
Glean.fogValidation.validateEarlyEvent.record();
|
||||||
|
}
|
||||||
|
|
||||||
if (AppConstants.platform == "win") {
|
if (AppConstants.platform == "win") {
|
||||||
// Windows itself does disk I/O when the notification service is
|
// Windows itself does disk I/O when the notification service is
|
||||||
// initialized, so make sure that is lazy.
|
// initialized, so make sure that is lazy.
|
||||||
|
@ -135,3 +135,15 @@ fog.ipc:
|
|||||||
- chutten@mozilla.com
|
- chutten@mozilla.com
|
||||||
- glean-team@mozilla.com
|
- glean-team@mozilla.com
|
||||||
expires: never
|
expires: never
|
||||||
|
|
||||||
|
fog.validation:
|
||||||
|
validate_early_event:
|
||||||
|
type: event
|
||||||
|
description: |
|
||||||
|
An event sent very early to validate that FOG is able to process it.
|
||||||
|
bugs: ["https://bugzilla.mozilla.org/show_bug.cgi?id=1837230"]
|
||||||
|
data_reviews: ["https://bugzilla.mozilla.org/show_bug.cgi?id=1837230"]
|
||||||
|
data_sensitivity: ["interaction"]
|
||||||
|
notification_emails: ["chutten@mozilla.com"]
|
||||||
|
expires: 120
|
||||||
|
telemetry_mirror: Telemetry_EarlyEvent_Startup
|
||||||
|
@ -1630,6 +1630,16 @@ messaging_experiments:
|
|||||||
- omc@mozilla.com
|
- omc@mozilla.com
|
||||||
expiry_version: never
|
expiry_version: never
|
||||||
|
|
||||||
|
telemetry:
|
||||||
|
early_event:
|
||||||
|
objects: ["startup"]
|
||||||
|
bug_numbers: [1837230]
|
||||||
|
notification_emails: ["chutten@mozilla.com"]
|
||||||
|
products: ["firefox"]
|
||||||
|
record_in_processes: ["main"]
|
||||||
|
description: This is a mirrored-to verification event.
|
||||||
|
expiry_version: "120"
|
||||||
|
|
||||||
# This category contains event entries used for Telemetry tests.
|
# This category contains event entries used for Telemetry tests.
|
||||||
# They will not be sent out with any pings.
|
# They will not be sent out with any pings.
|
||||||
telemetry.test:
|
telemetry.test:
|
||||||
|
Loading…
Reference in New Issue
Block a user