mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +09:00
Fix typo in default cpu metric
Fix proces_cpu_seconds_total being mislabled as process_cpu_seconds.
This commit is contained in:
1 parent
47c221f6f3
commit
d537e5cf6b
1 file changed
+2
-1
+2
-1
@@ -400,7 +400,8 @@ function deserializeResult(serializedResult) {
|
||||
|
||||
let defaultCollectors = {};
|
||||
defaultCollectors.processCpuSecondsTotal = new Gauge(
|
||||
'process_cpu_seconds', "Total user and system CPU time spent in seconds.",
|
||||
'process_cpu_seconds_total',
|
||||
"Total user and system CPU time spent in seconds.",
|
||||
{
|
||||
callback: async function() {
|
||||
let usage = process.cpuUsage();
|
||||
|
||||
Reference in new issue
Block a user