You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi/nexus.json
+96Lines changed: 96 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21199,6 +21199,54 @@
21199
21199
"items"
21200
21200
]
21201
21201
},
21202
+
"IoCount": {
21203
+
"description": "A count of bytes / rows accessed during a query.",
21204
+
"type": "object",
21205
+
"properties": {
21206
+
"bytes": {
21207
+
"description": "The number of bytes accessed.",
21208
+
"type": "integer",
21209
+
"format": "uint64",
21210
+
"minimum": 0
21211
+
},
21212
+
"rows": {
21213
+
"description": "The number of rows accessed.",
21214
+
"type": "integer",
21215
+
"format": "uint64",
21216
+
"minimum": 0
21217
+
}
21218
+
},
21219
+
"required": [
21220
+
"bytes",
21221
+
"rows"
21222
+
]
21223
+
},
21224
+
"IoSummary": {
21225
+
"description": "Summary of the I/O resources used by a query.",
21226
+
"type": "object",
21227
+
"properties": {
21228
+
"read": {
21229
+
"description": "The bytes and rows read by the query.",
21230
+
"allOf": [
21231
+
{
21232
+
"$ref": "#/components/schemas/IoCount"
21233
+
}
21234
+
]
21235
+
},
21236
+
"written": {
21237
+
"description": "The bytes and rows written by the query.",
21238
+
"allOf": [
21239
+
{
21240
+
"$ref": "#/components/schemas/IoCount"
21241
+
}
21242
+
]
21243
+
}
21244
+
},
21245
+
"required": [
21246
+
"read",
21247
+
"written"
21248
+
]
21249
+
},
21202
21250
"IpNet": {
21203
21251
"x-rust-type": {
21204
21252
"crate": "oxnet",
@@ -22316,6 +22364,14 @@
22316
22364
"description": "The result of a successful OxQL query.",
22317
22365
"type": "object",
22318
22366
"properties": {
22367
+
"query_summaries": {
22368
+
"nullable": true,
22369
+
"description": "Summaries of queries run against ClickHouse.",
22370
+
"type": "array",
22371
+
"items": {
22372
+
"$ref": "#/components/schemas/OxqlQuerySummary"
22373
+
}
22374
+
},
22319
22375
"tables": {
22320
22376
"description": "Tables resulting from the query, each containing timeseries.",
22321
22377
"type": "array",
@@ -22328,6 +22384,41 @@
22328
22384
"tables"
22329
22385
]
22330
22386
},
22387
+
"OxqlQuerySummary": {
22388
+
"description": "Basic metadata about the resource usage of a single ClickHouse SQL query.",
22389
+
"type": "object",
22390
+
"properties": {
22391
+
"elapsed_ms": {
22392
+
"description": "The total duration of the ClickHouse query (network plus execution).",
22393
+
"type": "integer",
22394
+
"format": "uint",
22395
+
"minimum": 0
22396
+
},
22397
+
"id": {
22398
+
"description": "The database-assigned query ID.",
22399
+
"type": "string",
22400
+
"format": "uuid"
22401
+
},
22402
+
"io_summary": {
22403
+
"description": "Summary of the data read and written.",
22404
+
"allOf": [
22405
+
{
22406
+
"$ref": "#/components/schemas/IoSummary"
22407
+
}
22408
+
]
22409
+
},
22410
+
"query": {
22411
+
"description": "The raw ClickHouse SQL query.",
22412
+
"type": "string"
22413
+
}
22414
+
},
22415
+
"required": [
22416
+
"elapsed_ms",
22417
+
"id",
22418
+
"io_summary",
22419
+
"query"
22420
+
]
22421
+
},
22331
22422
"OxqlTable": {
22332
22423
"description": "A table represents one or more timeseries with the same schema.\n\nA table is the result of an OxQL query. It contains a name, usually the name of the timeseries schema from which the data is derived, and any number of timeseries, which contain the actual data.",
22333
22424
"type": "object",
@@ -25709,6 +25800,11 @@
25709
25800
"description": "A timeseries query string, written in the Oximeter query language.",
25710
25801
"type": "object",
25711
25802
"properties": {
25803
+
"include_summaries": {
25804
+
"description": "Whether to include ClickHouse query summaries in the response.",
25805
+
"default": false,
25806
+
"type": "boolean"
25807
+
},
25712
25808
"query": {
25713
25809
"description": "A timeseries query string, written in the Oximeter query language.",
0 commit comments