Software /
code /
prosody-modules
Changeset
3607:3a06b0b6ba67
mod_statistics_statsman: Update for change stats type change in mod_measure_memory
See a5a5f85d7ca1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 28 May 2019 21:15:09 +0200 |
parents | 3606:7811ba467525 |
children | 3608:2c25594f9e71 |
files | mod_statistics_statsman/mod_statistics_statsman.lua |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_statistics_statsman/mod_statistics_statsman.lua Thu May 23 17:37:58 2019 +0200 +++ b/mod_statistics_statsman/mod_statistics_statsman.lua Tue May 28 21:15:09 2019 +0200 @@ -16,14 +16,14 @@ local name_map = { ["start_time"] = "up_since"; ["cpu.percent:amount"] = "cpu"; - ["memory.allocated_mmap:size"] = "memory_allocated_mmap"; - ["memory.allocated:size"] = "memory_allocated"; - ["memory.lua:size"] = "memory_lua"; - ["memory.returnable:size"] = "memory_returnable"; - ["memory.rss:size"] = "memory_rss"; - ["memory.total:size"] = "memory_total"; - ["memory.unused:size"] = "memory_unused"; - ["memory.used:size"] = "memory_used"; + ["memory.allocated_mmap:amount"] = "memory_allocated_mmap"; + ["memory.allocated:amount"] = "memory_allocated"; + ["memory.lua:amount"] = "memory_lua"; + ["memory.returnable:amount"] = "memory_returnable"; + ["memory.rss:amount"] = "memory_rss"; + ["memory.total:amount"] = "memory_total"; + ["memory.unused:amount"] = "memory_unused"; + ["memory.used:amount"] = "memory_used"; ["/*/mod_c2s/connections:amount"] = "total_c2s"; ["/*/mod_s2s/connections:amount"] = "total_s2s"; };