Update frontend; Remove debug logging

This commit is contained in:
Lou Knauer
2022-02-02 13:59:08 +01:00
parent 3e7b89aebb
commit 4f431d0236
4 changed files with 8 additions and 5 deletions

View File

@@ -217,6 +217,12 @@ func (r *queryResolver) NodeMetrics(ctx context.Context, cluster string, partiti
partition = new(string)
}
if metrics == nil {
for _, mc := range config.GetClusterConfig(cluster).MetricConfig {
metrics = append(metrics, mc.Name)
}
}
data, err := metricdata.LoadNodeData(cluster, *partition, metrics, nodes, scopes, from, to, ctx)
if err != nil {
return nil, err