mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-22 20:41:40 +02:00
Update and regenerate graphQL for new unit type
This commit is contained in:
@@ -77,7 +77,7 @@ type SubClusterConfig {
|
||||
|
||||
type MetricConfig {
|
||||
name: String!
|
||||
unit: String!
|
||||
unit: Unit
|
||||
scope: MetricScope!
|
||||
aggregation: String
|
||||
timestep: Int!
|
||||
@@ -107,7 +107,7 @@ type JobMetricWithName {
|
||||
}
|
||||
|
||||
type JobMetric {
|
||||
unit: String!
|
||||
unit: Unit
|
||||
scope: MetricScope!
|
||||
timestep: Int!
|
||||
series: [Series!]
|
||||
@@ -121,6 +121,11 @@ type Series {
|
||||
data: [NullableFloat!]!
|
||||
}
|
||||
|
||||
type Unit {
|
||||
base: String!
|
||||
prefix: String
|
||||
}
|
||||
|
||||
type MetricStatistics {
|
||||
avg: Float!
|
||||
min: Float!
|
||||
|
Reference in New Issue
Block a user