noam87

noam87

How do you monitor / profile your live Elixir / Phoenix apps?

Hey everyone,

Having a great time building v2 of our app in Elixir (previously Node). And getting to that stage: how does everyone here monitor their Elixir apps live on production? Are you using NewRelic, something else?

Most Liked

martinschurig

martinschurig

Hey there,

Erlang comes with an observer which you can use to monitor your elixir app.

A few weeks ago I wrote an article on how to use it and also wrote a hex called remote_monitor for it. At least thats what you can use to monitor your app on demand.

I’m still looking for a service that monitors the app in the background and sends alerts if something goes wrong - didn’t find anything like that yet.

12
Post #2
deadtrickster

deadtrickster

I plan 3-part series (Implementation details, Instrumenting a Phoenix app, and Deploying).

Right now I’m busy writing docs: https://hexdocs.pm/prometheus_ex/1.0.0-alpha3/Prometheus.html. Any help would be appreciated (esp, proofreading)!

michalmuskala

michalmuskala

AppSignal looks nice, but I have big objections when it comes to the implementation. It uses NIFs, we know nothing about. We know they’re going to do some HTTP requests, but are they running in a separate thread? Are they respecting the NIF time limit? I don’t think I’m comfortable with sticking proprietary NIFs into my code, where I have no idea they won’t cause a scheduler collapse under load.

arjan

arjan

Inspired by our discussion, a few days ago I’ve released a new version of the library with basic channel support; basically you can treat the processing of incoming channel messages as separate transactions. Hope that helps a bit already :slight_smile:

Note that the API is not the prettiest yet. In a future version I’m planning to incorporate function annotations to make the integration a bit cleaner.

deadtrickster

deadtrickster

Where Next?

Popular in Questions Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New
idi527
I’ve been re-reading swift book again and noticed that multiline strings there don’t have a trailing line break, unlike in elixir iex(2)...
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
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
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
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
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New

We're in Beta

About us Mission Statement