Mercurial > prosody-modules
comparison mod_statistics_statsman/mod_statistics_statsman.lua @ 3610:78885053cd80
mod_statistics_statsman: Fix syntax error
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 28 May 2019 21:27:45 +0200 |
parents | 0d4598dacc87 |
children | bac3dae031ee |
comparison
equal
deleted
inserted
replaced
3609:0d4598dacc87 | 3610:78885053cd80 |
---|---|
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 ["cpu.clock:amount"] = "cpu_total"; |
20 ["memory.allocated_mmap:amount"] = "memory_allocated_mmap"; | 20 ["memory.allocated_mmap:amount"] = "memory_allocated_mmap"; |
21 ["memory.allocated:amount"] = "memory_allocated"; | 21 ["memory.allocated:amount"] = "memory_allocated"; |
22 ["memory.lua:amount"] = "memory_lua"; | 22 ["memory.lua:amount"] = "memory_lua"; |
23 ["memory.returnable:amount"] = "memory_returnable"; | 23 ["memory.returnable:amount"] = "memory_returnable"; |
24 ["memory.rss:amount"] = "memory_rss"; | 24 ["memory.rss:amount"] = "memory_rss"; |