Bruce PomeroyTroubleshooting Disc Space Usage with Elixir and EdeliverThese commands will help you determine if you are out of disc space:Jul 29, 2019Jul 29, 2019
Bruce PomeroyRun Sentry Error Monitoring on EC2First of all, I highly recommend the hosted version of Sentry. I’ve used this extensively and found it to be extremely reliable and…Mar 5, 20193Mar 5, 20193
Bruce PomeroyUsing Xref to 10x Dev Compile SpeedI was making some changes in a view file. Phoenix was doing its thing and whenever I hit save it was recompiling and then reloading the…Oct 4, 2018Oct 4, 2018
Bruce PomeroyRunning Phoenix with a Self-Signed SSL Cert in DevFirst off, I’m assuming you’re not going to do this out of concern for security. This is just a quick way to run via ssl locally in dev…Jun 28, 20181Jun 28, 20181
Bruce PomeroyPublishing Metrics to Prometheus from ElixirI think this is the most basic setup to get you up and running publishing custom metrics from your Elixir app to Prometheus. By contrast…May 24, 20181May 24, 20181
Bruce PomeroyRunning out of inodes on UbuntuSo you’re seeing errors on Ubuntu indicating you’re low on disc space. First step of course is to see if the disc is actually full with df…Sep 21, 2017Sep 21, 2017
Bruce PomeroySpecifying primary key values with EctoThere are some cases where we have an entity stored in a GenServer or ETS table that already has a unique id and now we want to put it in…Jun 8, 20172Jun 8, 20172
Bruce PomeroyUse Ecto changesets without a RepoAn Ecto changeset describes an initial state along with a set of desired changes.May 30, 2017May 30, 2017
Bruce PomeroyAccepting optional options in ElixirIt’s a common pattern to write a function where the last parameter is a set of options that are all optional. Typically you also want to…May 26, 2017May 26, 2017
Bruce PomeroyTroubleshooting Elixir crashesElixir and Erlang have a well-earned reputation for stability and fault-tolerance. So I was surprised the first time I received a…May 23, 20171May 23, 20171