changeset 3609:0d4598dacc87

mod_statistics_statsman: Map 'cpu.clock' from mod_measure_cpu to 'cpu_total' of mod_statistics_cputotal
author Kim Alvefur <zash@zash.se>
date Tue, 28 May 2019 21:26:13 +0200
parents 2c25594f9e71
children 78885053cd80
files mod_statistics_statsman/mod_statistics_statsman.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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";