Mercurial > prosody-modules
comparison mod_statistics_statsman/mod_statistics_statsman.lua @ 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 | 3a06b0b6ba67 |
children | 78885053cd80 |
comparison
equal
deleted
inserted
replaced
3608:2c25594f9e71 | 3609:0d4598dacc87 |
---|---|
14 local sessions = {}; | 14 local sessions = {}; |
15 | 15 |
16 local name_map = { | 16 local name_map = { |
17 ["start_time"] = "up_since"; | 17 ["start_time"] = "up_since"; |
18 ["cpu.percent:amount"] = "cpu"; | 18 ["cpu.percent:amount"] = "cpu"; |
19 ["cpu.clock:amount"] = "cpu_total" | |
19 ["memory.allocated_mmap:amount"] = "memory_allocated_mmap"; | 20 ["memory.allocated_mmap:amount"] = "memory_allocated_mmap"; |
20 ["memory.allocated:amount"] = "memory_allocated"; | 21 ["memory.allocated:amount"] = "memory_allocated"; |
21 ["memory.lua:amount"] = "memory_lua"; | 22 ["memory.lua:amount"] = "memory_lua"; |
22 ["memory.returnable:amount"] = "memory_returnable"; | 23 ["memory.returnable:amount"] = "memory_returnable"; |
23 ["memory.rss:amount"] = "memory_rss"; | 24 ["memory.rss:amount"] = "memory_rss"; |