Add global metric list including graphQL query

This commit is contained in:
2024-07-11 11:09:14 +02:00
parent bf6b87d65c
commit f1427d5272
9 changed files with 770 additions and 50 deletions

View File

@@ -178,6 +178,18 @@ type NodeMetrics {
metrics: [JobMetricWithName!]!
}
type ClusterSupport {
cluster: String!
subClusters: [String!]!
}
type GlobalMetricListItem {
name: String!
unit: Unit!
scope: MetricScope!
availability: [ClusterSupport!]!
}
type Count {
name: String!
count: Int!
@@ -192,6 +204,7 @@ type User {
type Query {
clusters: [Cluster!]! # List of all clusters
tags: [Tag!]! # List of all tags
globalMetrics: [GlobalMetricListItem!]!
user(username: String!): User
allocatedNodes(cluster: String!): [Count!]!