Bug 1367849 - Put 'processType' under 'payload' in Crash Ping Docs. r?chutten draft
authortiago <tiago.paez11@gmail.com>
Fri, 26 May 2017 22:16:50 -0300
changeset 585515 aca4aa70f403e3d8d4b48331e2a998ba3d94fdf7
parent 585328 bce03a8eac301bcd9408b22333b1a67c3eaed057
child 630746 70dd7c606cec57f74855eb4de9cfa3f4b7b25ef9
push id61138
push userbmo:tiago.paez11@gmail.com
push dateSat, 27 May 2017 01:17:11 +0000
reviewerschutten
bugs1367849
milestone55.0a1
Bug 1367849 - Put 'processType' under 'payload' in Crash Ping Docs. r?chutten MozReview-Commit-ID: 4D4AIouuyP2
toolkit/components/telemetry/docs/data/crash-ping.rst
--- a/toolkit/components/telemetry/docs/data/crash-ping.rst
+++ b/toolkit/components/telemetry/docs/data/crash-ping.rst
@@ -23,26 +23,26 @@ Structure:
 
 .. code-block:: js
 
     {
       type: "crash",
       ... common ping data
       clientId: <UUID>,
       environment: { ... },
-      processType: <type>, // Type of process that crashed, see below for a list of types
       payload: {
         crashDate: "YYYY-MM-DD",
         crashTime: <ISO Date>, // per-hour resolution
         version: 1,
         sessionId: <UUID>, // may be missing for crashes that happen early
                            // in startup. Added in Firefox 48 with the
                            // intention of uplifting to Firefox 46
         crashId: <UUID>, // Optional, ID of the associated crash
         minidumpSha256Hash: <hash>, // SHA256 hash of the minidump file
+        processType: <type>, // Type of process that crashed, see below for a list of types
         stackTraces: { ... }, // Optional, see below
         metadata: { // Annotations saved while Firefox was running. See nsExceptionHandler.cpp for more information
           ProductID: "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
           ProductName: "Firefox",
           ReleaseChannel: <channel>,
           Version: <version number>,
           BuildID: "YYYYMMDDHHMMSS",
           AvailablePageFile: <size>, // Windows-only, available paging file