Change web ui defaults and fix ui config json schema

This commit is contained in:
2026-01-30 16:31:09 +01:00
parent 1ffcc5e241
commit b600eeca5e
2 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ const configSchema = `{
} }
} }
}, },
"required": ["name", "sub-clusters"], "required": ["name"],
"minItems": 1 "minItems": 1
} }
} }

View File

@@ -80,7 +80,7 @@ var UIDefaults = WebConfig{
ShowFootprint: false, ShowFootprint: false,
}, },
NodeList: NodeListConfig{ NodeList: NodeListConfig{
UsePaging: true, UsePaging: false,
}, },
JobView: JobViewConfig{ JobView: JobViewConfig{
ShowPolarPlot: true, ShowPolarPlot: true,
@@ -89,8 +89,8 @@ var UIDefaults = WebConfig{
ShowStatTable: true, ShowStatTable: true,
}, },
MetricConfig: MetricConfig{ MetricConfig: MetricConfig{
JobListMetrics: []string{"flops_any", "mem_bw", "mem_used"}, JobListMetrics: []string{"cpu_load", "flops_any", "mem_bw", "mem_used"},
JobViewPlotMetrics: []string{"flops_any", "mem_bw", "mem_used"}, JobViewPlotMetrics: []string{"cpu_load", "flops_any", "mem_bw", "mem_used"},
JobViewTableMetrics: []string{"flops_any", "mem_bw", "mem_used"}, JobViewTableMetrics: []string{"flops_any", "mem_bw", "mem_used"},
}, },
PlotConfiguration: PlotConfiguration{ PlotConfiguration: PlotConfiguration{