Last active
October 7, 2016 13:12
-
-
Save ten0s/0a007f6cfbd122fd56ea3fd3443cac84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Erlang Node Memory Statistics | |
[newrelic:record_metric(list_to_binary(lists:concat(["Erlang/Memory/", K])), V) || {K, V} <- erlang:memory()]. | |
Erlang Node Process Count | |
newrelic:record_metric(<<"Erlang/SystemInfo/ProcessCount">>, erlang:system_info(process_count)). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment