Trial and Test MetricStore components

This commit is contained in:
Aditya Ujeniya
2025-09-08 22:54:13 +02:00
parent 62565b9ae2
commit af43901ca3
34 changed files with 394 additions and 219 deletions

View File

@@ -37,7 +37,7 @@ type Job {
numAcc: Int!
energy: Float!
SMT: Int!
exclusive: Int!
shared: String!
partition: String!
arrayJobId: Int!
monitoringStatus: Int!
@@ -419,7 +419,7 @@ input JobFilter {
startTime: TimeRange
state: [JobState!]
metricStats: [MetricStatItem!]
exclusive: Int
shared: StringInput
node: StringInput
}

View File

@@ -1394,12 +1394,6 @@
"format": "float64"
}
},
"exclusive": {
"type": "integer",
"maximum": 2,
"minimum": 0,
"example": 1
},
"footprint": {
"type": "object",
"additionalProperties": {
@@ -1416,12 +1410,18 @@
},
"jobState": {
"enum": [
"completed",
"failed",
"boot_fail",
"cancelled",
"stopped",
"timeout",
"out_of_memory"
"completed",
"deadline",
"failed",
"node_fail",
"out-of-memory",
"pending",
"preempted",
"running",
"suspended",
"timeout"
],
"allOf": [
{
@@ -1477,6 +1477,14 @@
"$ref": "#/definitions/schema.Resource"
}
},
"shared": {
"type": "string",
"enum": [
"none",
"single_user",
"multi_user"
]
},
"smt": {
"type": "integer",
"example": 4

View File

@@ -207,11 +207,6 @@ definitions:
format: float64
type: number
type: object
exclusive:
example: 1
maximum: 2
minimum: 0
type: integer
footprint:
additionalProperties:
format: float64
@@ -226,12 +221,18 @@ definitions:
allOf:
- $ref: '#/definitions/schema.JobState'
enum:
- completed
- failed
- boot_fail
- cancelled
- stopped
- completed
- deadline
- failed
- node_fail
- out-of-memory
- pending
- preempted
- running
- suspended
- timeout
- out_of_memory
example: completed
metaData:
additionalProperties:
@@ -269,6 +270,12 @@ definitions:
items:
$ref: '#/definitions/schema.Resource'
type: array
shared:
enum:
- none
- single_user
- multi_user
type: string
smt:
example: 4
type: integer