Skip to content

Instantly share code, notes, and snippets.

@ten0s
Last active October 7, 2016 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ten0s/0a007f6cfbd122fd56ea3fd3443cac84 to your computer and use it in GitHub Desktop.
Save ten0s/0a007f6cfbd122fd56ea3fd3443cac84 to your computer and use it in GitHub Desktop.
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