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
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.
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
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
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 
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
Read this post first: http://aldusleaf.org/monitoring-elixir-apps-in-2016-prometheus-and-grafana/
Libraries are listed here: Prometheus.io Elixir integrations
Github link: https://github.com/deadtrickster/prometheus.ex see Integrations section in readme.







