fnegrini

fnegrini

Performance and analysis tools

Hello,

I’m looking for performance and analysis tools for my Erlang program which can give me real time information such as:

  • Memory usage
  • CPU usage (Percentage per core)
  • Processes count per core
  • Others…

Sugestions?

Thanks!

Most Liked

jola

jola

As you’ve asked for real time information, such as process count per core, I’m assuming you’re asking for monitoring tools rather than benchmarking. Erlang comes with some built in tools, there’s also some you can add through hex.

etop

Command: :etop.start

Starts an in terminal UI similar to the unix top command. Does for processes in the VM what top does for processes in eg a linux system.

observer

Command: :observer.start

Starts a windowed application that displays a huge amount of information on the running VM, including memory, processes, load, process trees, and lots of other stuff.

observer-cli

An upgraded version of etop with lots of information, can be installed through hex. Possible to run remotely.

https://github.com/zhongwencool/observer_cli

recon

This is a collection of tools used to get more information on your system, useful for debugging problematic systems.

https://github.com/ferd/recon

13
Post #3
binaryseed

binaryseed

NewRelic does have an Elixir agent..

https://github.com/newrelic/elixir_agent/

PragTob

PragTob

So yes benchee is more for measuring performance before something goes live or for testing out multiple approaches locally, from what I understand you want to have more of an introspection into the running system. @jola offered multiple great solutions there.

Adopting Elixir, which is great, has a chapter about Metrics and instrumenting your system.

Other projects they mention as being used in the wild:

I like whole Application Performance Monitoring Solutions in the SaaS space such as:

And for even more options you could take a look at some of our previous threads on the subject:

Last Post!

PragTob

PragTob

Interesting, I didn’t know and always wondered why they didn’t have one :scream:

Thanks for letting us know!

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40042 209
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44532 311
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44139 214
New

We're in Beta

About us Mission Statement