Introduce clusters query and type

This commit is contained in:
Lou Knauer
2021-04-22 15:00:54 +02:00
parent 3004e2909a
commit 365b1a2066
7 changed files with 1063 additions and 2 deletions

View File

@@ -19,6 +19,28 @@ type Job {
tags: [JobTag!]
}
type Cluster {
clusterID: String!
processorType: String!
socketsPerNode: Int!
coresPerSocket: Int!
threadsPerCore: Int!
flopRateScalar: Int!
flopRateSimd: Int!
memoryBandwidth: Int!
metricConfig: [MetricConfig!]!
}
type MetricConfig {
name: String!
unit: String!
sampletime: Int!
peak: Int!
normal: Int!
caution: Int!
alert: Int!
}
type JobMetric {
unit: String!
scope: JobMetricScope!
@@ -51,6 +73,8 @@ type JobTag {
}
type Query {
clusters: [Cluster!]!
jobById(jobId: String!): Job
jobs(filter: JobFilterList, page: PageRequest, order: OrderByInput): JobResultList!
jobsStatistics(filter: JobFilterList): JobsStatistics!