Skip to content

Commit

Permalink
Update schema to use integer and remove uniqueness from timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
debermudez committed Jul 26, 2023
1 parent 1ac9814 commit f39f275
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/c++/perf_analyzer/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,18 @@
"maxItems": 1,
"properties": {
"mode": {
"description": "Operating mode of perf analyzer: For example, concurrency or request rate.",
"description": "Operating mode of perf analyzer: For example, 'concurrency' or 'request rate'.",
"type": "string"
},
"value": {
"description": "Concurrency or request rate for the current experiment.",
"type": "number"
"type": "integer"
}
}
},
"requests": {
"description": "The array of requests sent by perf_analyzer for this experiment.",
"description": "The array of requests sent by Perf Analyzer for this experiment.",
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/properties/experiments/items/properties/$defs/request"
}
Expand All @@ -61,17 +60,17 @@
"properties": {
"timestamp": {
"description": "Time stamp of the request.",
"type": "number"
"type": "integer"
},
"sequence_id": {
"description": "The sequence_id of the request.",
"type": "number"
"type": "integer"
},
"responses_timestamps": {
"description": "All associated responses to this request.",
"type": "array",
"items": {
"type": "number"
"type": "integer"
}
}
}
Expand All @@ -81,7 +80,7 @@
"description": "An array of time stamps describing window boundaries.",
"type": "array",
"items": {
"type": "number"
"type": "integer"
},
"uniqueItems": true
}
Expand Down

0 comments on commit f39f275

Please sign in to comment.