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

Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
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
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
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
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
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

Other popular topics Top

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
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? 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
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
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
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
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

We're in Beta

About us Mission Statement