mod_statistics_statsman: Map 'cpu.clock' from mod_measure_cpu to 'cpu_total' of mod_statistics_cputotal
authorKim Alvefur <zash@zash.se>
Tue, 28 May 2019 21:26:13 +0200
changeset 3613 0d4598dacc87
parent 3612 2c25594f9e71
child 3614 78885053cd80
mod_statistics_statsman: Map 'cpu.clock' from mod_measure_cpu to 'cpu_total' of mod_statistics_cputotal
mod_statistics_statsman/mod_statistics_statsman.lua
--- a/mod_statistics_statsman/mod_statistics_statsman.lua	Tue May 28 21:23:35 2019 +0200
+++ b/mod_statistics_statsman/mod_statistics_statsman.lua	Tue May 28 21:26:13 2019 +0200
@@ -16,6 +16,7 @@
 local name_map = {
 	["start_time"] = "up_since";
 	["cpu.percent:amount"] = "cpu";
+	["cpu.clock:amount"] = "cpu_total"
 	["memory.allocated_mmap:amount"] = "memory_allocated_mmap";
 	["memory.allocated:amount"] = "memory_allocated";
 	["memory.lua:amount"] = "memory_lua";