fix(emqx_telemety): use total_memory memsup key

This commit is contained in:
Ilya Averyanov 2022-03-29 11:56:50 +03:00
parent e9ce91b60c
commit f85fc98b39
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ vm_specs() ->
SysMemData = memsup:get_system_memory_data(),
[
{num_cpus, erlang:system_info(logical_processors)},
{total_memory, proplists:get_value(available_memory, SysMemData)}
{total_memory, proplists:get_value(total_memory, SysMemData)}
].
-spec mqtt_runtime_insights(state()) -> {map(), state()}.