Skip to content

Commit b600eec

Browse files
committed
Change web ui defaults and fix ui config json schema
1 parent 1ffcc5e commit b600eec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

web/configSchema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const configSchema = `{
155155
}
156156
}
157157
},
158-
"required": ["name", "sub-clusters"],
158+
"required": ["name"],
159159
"minItems": 1
160160
}
161161
}

web/web.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var UIDefaults = WebConfig{
8080
ShowFootprint: false,
8181
},
8282
NodeList: NodeListConfig{
83-
UsePaging: true,
83+
UsePaging: false,
8484
},
8585
JobView: JobViewConfig{
8686
ShowPolarPlot: true,
@@ -89,8 +89,8 @@ var UIDefaults = WebConfig{
8989
ShowStatTable: true,
9090
},
9191
MetricConfig: MetricConfig{
92-
JobListMetrics: []string{"flops_any", "mem_bw", "mem_used"},
93-
JobViewPlotMetrics: []string{"flops_any", "mem_bw", "mem_used"},
92+
JobListMetrics: []string{"cpu_load", "flops_any", "mem_bw", "mem_used"},
93+
JobViewPlotMetrics: []string{"cpu_load", "flops_any", "mem_bw", "mem_used"},
9494
JobViewTableMetrics: []string{"flops_any", "mem_bw", "mem_used"},
9595
},
9696
PlotConfiguration: PlotConfiguration{

0 commit comments

Comments
 (0)