build/telemetry-schema.json
author Chris H-C <chutten@mozilla.com>
Mon, 04 Jul 2016 11:16:05 -0400
changeset 312997 df28918fe2361f0b54ca9ce4773a29c4c0675d06
parent 285187 930c12a120abdefcfc6093164112063cb477b4ce
permissions -rw-r--r--
bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche The JS histograms, too, need to dispatch their accumulations from child to parent. JSHistograms_Add now only supports histograms that are in gHistogramsMap or that were created in the parent process. After bug 1288745, maybe we'll be able to change this to be less convoluted. MozReview-Commit-ID: 3qTH89YKbGP

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "argv": {"type": "array"},
    "system": {
      "type": "object",
      "properties": {
        "architecture": {"type": "array"},
        "linux_distribution": {"type": "array"},
        "mac_ver": {"type": "array"},
        "machine": {"type": "string"},
        "python_version": {"type": "string"},
        "release": {"type": "string"},
        "system": {"type": "string"},
        "version": {"type": "string"},
        "win_ver": {"type": "array"}
      },
      "required": ["architecture", "machine", "python_version",
                   "release", "system", "version"]
    }
  },
  "required": ["argv", "system"]
}