manukall

manukall

What metrics about your Phoenix app would you like tracked?

Hey everyone,

I’m working on a Phoenix monitoring project and I’m wondering what Elixir / Erlang specific metrics people are interested in, besides of the usual “how long did that controller take” and “how long did that database query need”.

I’m thinking of basically what recon’s node stats function returns:

  • process count
  • run queue and error_logger queue size
  • memory by processes, atoms, binaries, and ets tables
  • bytes in and out of the node
  • number of reductions
  • scheduler usage

Does that make sense? Would you like to track anything else?

Thanks,
Manuel

Most Liked

OvermindDL1

OvermindDL1

The usual things that :observer shows is quite nice, other than that the usual things that webservers can usually log, in addition to things that something like awstats shows (I use it a lot). ^.^

AstonJ

AstonJ

I like the idea of Awstats in a Phoenix app too :023:

manukall

manukall

The project is currently in a closed alpha (you can sign up for the waitlist at https://pryin.io) and it’s not actually phoenix-only. You could still use it to keep track of beam metrics like how much memory is used and by what (ETS, atoms, binary, …), data about garbage collection, processes (number of processes, reductions, scheduler usage, …).

If you connect your phoenix app, you get metrics about how long controller and channels take, which ecto queries are run (and how long they take), and a lot more :slight_smile:

Where Next?

Popular in Discussions Top

matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
WildYorkies
It seems that the more I read, the more I find Elixir users speaking about all the ways that Elixir is not good for x, y, and z use cases...
New
Jayshua
I recently came across the javascript library htmx. It reminded me a lot of liveview so I thought the community here might be interested....
New
arpan
Hello everyone :wave: Today I am very excited to announce a project that I have been working on for almost 3 months now. The project is...
New
Ankhers
Just a little information upfront. Generally speaking, if I feel like I need to either break a pipe chain or use an anonymous function in...
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
Qqwy
I would like to spark a discussion about the static access operator: .. For whom does not know: it is used in Elixir to access fields of...
New
tomekowal
Hey guys! I want to create a toy project that shows a chart of temperature over time and updates every 5 seconds. I feel LiveView is per...
New
Markusxmr
Since Drab has been developed for a while in the open, introducing the Liveview functionality in a way it happend appears to undermine th...
New

Other popular topics Top

Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36352 110
New
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
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement