mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-31 08:11:45 +01:00
Change web ui defaults and fix ui config json schema
This commit is contained in:
@@ -155,7 +155,7 @@ const configSchema = `{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["name", "sub-clusters"],
|
"required": ["name"],
|
||||||
"minItems": 1
|
"minItems": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user