Update and regenerate graphQL for new unit type

This commit is contained in:
Christoph Kluge
2022-10-06 18:04:47 +02:00
parent ec772f5aff
commit 3867ea137b
4 changed files with 174 additions and 23 deletions

View File

@@ -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!