mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
694a88e33b
This adds a simple schema for build telemetry data. We can make it more restrictive once we have a better feeling for what kind of data we want to submit. This also moves more common data about the system to the telemetry handler. We leave psutil derivied information in the resource usage data as not every system will have psutil installed. MozReview-Commit-ID: CFRq1Ow6AOf --HG-- extra : rebase_source : 3022d8f5d20e3d4f9dc871cf2217a6dad2f22e05
25 lines
727 B
JSON
25 lines
727 B
JSON
{
|
|
"$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"]
|
|
}
|