GraphQL remove toplevel thresholds and add Unit

Add Unit to metric values in subCluster
This commit is contained in:
Jan Eitzinger
2023-03-10 12:13:40 +01:00
parent c6c217adb0
commit 97f391deff
7 changed files with 304 additions and 297 deletions

View File

@@ -46,12 +46,17 @@ type SubCluster {
socketsPerNode: Int!
coresPerSocket: Int!
threadsPerCore: Int!
flopRateScalar: Int!
flopRateSimd: Int!
memoryBandwidth: Int!
flopRateScalar: MetricValue!
flopRateSimd: MetricValue!
memoryBandwidth: MetricValue!
topology: Topology!
}
type MetricValue {
unit: Unit!
value: Float!
}
type Topology {
node: [Int!]
socket: [[Int!]!]
@@ -81,10 +86,6 @@ type MetricConfig {
scope: MetricScope!
aggregation: String
timestep: Int!
peak: Float
normal: Float
caution: Float
alert: Float
subClusters: [SubClusterConfig]
}