blob: f941ea96c19471d618c28d64fee4991fe950d059 [file] [log] [blame]
{
"type": "object",
"title": "metrics",
"required": [
"metrics"
],
"properties": {
"metrics": {
"type": "array",
"xml": {
"name": "metrics",
"wrapped": true
},
"items": {
"type": "object",
"title": "metrics",
"required": [
"cpuLoad",
"totalCpuTime",
"sysCpuTime",
"userCpuTime",
"cpuIdleTime"
],
"properties": {
"cpuLoad": {
"type": "object",
"required": [
"time",
"latest",
"average"
],
"properties": {
"time": {
"type": "integer",
"format": "int64"
},
"latest": {
"type": "integer",
"format": "int64"
},
"average": {
"type": "integer",
"format": "int64"
}
}
},
"totalCpuTime": {
"type": "object",
"required": [
"time",
"latest",
"average"
],
"properties": {
"time": {
"type": "integer",
"format": "int64"
},
"latest": {
"type": "integer",
"format": "int64"
},
"average": {
"type": "integer",
"format": "int64"
}
}
},
"sysCpuTime": {
"type": "object",
"required": [
"time",
"latest",
"average"
],
"properties": {
"time": {
"type": "integer",
"format": "int64"
},
"latest": {
"type": "integer",
"format": "int64"
},
"average": {
"type": "integer",
"format": "int64"
}
}
},
"userCpuTime": {
"type": "object",
"required": [
"time",
"latest",
"average"
],
"properties": {
"time": {
"type": "integer",
"format": "int64"
},
"latest": {
"type": "integer",
"format": "int64"
},
"average": {
"type": "integer",
"format": "int64"
}
}
},
"cpuIdleTime": {
"type": "object",
"required": [
"time",
"latest",
"average"
],
"properties": {
"time": {
"type": "integer",
"format": "int64"
},
"latest": {
"type": "integer",
"format": "int64"
},
"average": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
}
}