Skip to content

Commit

Permalink
Add reply schema for LATENCY-LATESTS new fields (#1678)
Browse files Browse the repository at this point in the history
These fields were added in #224.

---------

Signed-off-by: Binbin <[email protected]>
Co-authored-by: Viktor Söderqvist <[email protected]>
  • Loading branch information
enjoy-binbin and zuiderkwast authored Feb 6, 2025
1 parent a3c9f67 commit 0579103
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/commands/latency-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
],
"reply_schema": {
"type": "array",
"description": "An array where each element is a four elements array representing the event's name, timestamp, latest and all-time latency measurements.",
"description": "An array where each element is an array representing the event name, timestamp, latest and all-time latency measurements.",
"items": {
"type": "array",
"minItems": 4,
"maxItems": 4,
"minItems": 6,
"maxItems": 6,
"items": [
{
"type": "string",
Expand All @@ -41,6 +41,14 @@
{
"type": "integer",
"description": "Max latency in milliseconds."
},
{
"type": "integer",
"description": "Sum of the latencies recorded in the time series for this event."
},
{
"type": "integer",
"description": "The number of latency spikes recorded in the time series for this event."
}
]
}
Expand Down

0 comments on commit 0579103

Please sign in to comment.