Merge pull request #7446 from savonarola/emqx_telemety-total-memory-macos-fix

fix(emqx_telemety): use total_memory memsup key
This commit is contained in:
Ilya Averyanov 2022-03-29 15:44:05 +03:00 committed by GitHub
commit eac09eed7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()}.