Bug 1272176 - Synchronize performance artifact schema with upstream; r=wlach

Having the latest schema available seems like a good thing. This is a
direct copy of schemas/performance-artifact.json from
https://github.com/mozilla/treeherder.git at commit
7bed1b22ceb01e3e71536fa1c4ecd14ddc87e803.

MozReview-Commit-ID: JQC4CeW6szM

--HG--
extra : rebase_source : a57d4e93b9334b5c571b05e0ef52f637a45432dd
This commit is contained in:
Gregory Szorc 2016-05-17 14:45:12 -07:00
parent e4bc524026
commit ba1cccb1c4

View File

@ -24,6 +24,31 @@
"description": "Whether lower values are better for subtest",
"title": "Lower is better",
"type": "boolean"
},
"shouldAlert": {
"description": "Whether we should alert",
"title": "Should alert",
"type": "boolean"
},
"alertThreshold": {
"description": "% change threshold before alerting",
"title": "Alert threshold",
"type": "number"
},
"minBackWindow": {
"description": "Minimum back window to use for alerting",
"title": "Minimum back window",
"type": "number"
},
"maxBackWindow": {
"description": "Maximum back window to use for alerting",
"title": "Maximum back window",
"type": "number"
},
"foreWindow": {
"description": "Fore window to use for alerting",
"title": "Fore window",
"type": "number"
}
},
"required": [
@ -38,6 +63,14 @@
"title": "Suite name",
"type": "string"
},
"extraOptions": {
"type": "array",
"title": "Extra options used in running suite",
"items": {
"type": "string"
},
"uniqueItems": true
},
"subtests": {
"items": {
"$ref": "#/definitions/subtest_schema"
@ -53,6 +86,31 @@
"description": "Whether lower values are better for suite",
"title": "Lower is better",
"type": "boolean"
},
"shouldAlert": {
"description": "Whether we should alert on this suite (overrides default behaviour)",
"title": "Should alert",
"type": "boolean"
},
"alertThreshold": {
"description": "% change threshold before alerting",
"title": "Alert threshold",
"type": "number"
},
"minBackWindow": {
"description": "Minimum back window to use for alerting",
"title": "Minimum back window",
"type": "number"
},
"maxBackWindow": {
"description": "Maximum back window to use for alerting",
"title": "Maximum back window",
"type": "number"
},
"foreWindow": {
"description": "Fore window to use for alerting",
"title": "Fore window",
"type": "number"
}
},
"required": [