From 9b3b233ddcddbe83f5e7f8bc658f9cd3e6a5c674 Mon Sep 17 00:00:00 2001 From: zhongtao Date: Wed, 29 Nov 2023 09:33:13 +0000 Subject: [PATCH 12/13] !292 add blkio info for runtime-stats * add blkio info for runtime-stats --- src/json/schema/defs.json | 17 +++++++++++++++++ src/json/schema/shim/client/runtime-stats.json | 11 +++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/json/schema/defs.json b/src/json/schema/defs.json index ad6f6d8..22683c2 100644 --- a/src/json/schema/defs.json +++ b/src/json/schema/defs.json @@ -128,6 +128,23 @@ } } }, + "BlkioEntry": { + "type": "object", + "properties": { + "major": { + "$ref": "#/definitions/uint64" + }, + "minor": { + "$ref": "#/definitions/uint64" + }, + "op": { + "type": "string" + }, + "value": { + "$ref": "#/definitions/uint64" + } + } + }, "ArrayOfBlkioWeightDevice": { "type": "array", "items": { diff --git a/src/json/schema/shim/client/runtime-stats.json b/src/json/schema/shim/client/runtime-stats.json index 6fdc579..35cfe64 100644 --- a/src/json/schema/shim/client/runtime-stats.json +++ b/src/json/schema/shim/client/runtime-stats.json @@ -65,6 +65,17 @@ } } } + }, + "blkio": { + "type": "object", + "properties": { + "ioServiceBytesRecursive": { + "type": "array", + "items": { + "$ref": "../../defs.json#/definitions/BlkioEntry" + } + } + } } } } -- 2.33.0