ForgeOps

ForgeOps

Hi all, I’m the maintainer of forge_ops_tracker, the Elixir client for ForgeOps, a hosted error tracking service. ForgeOps is a commercial product with a free plan, and I’m the solo developer behind both, so I’m saying that up front. I’m posting mainly to get feedback from people who run BEAM apps in production.

forge_ops_tracker reports crashes and exceptions from anywhere in the VM, plus timings from Phoenix, Ecto and Oban. It is MIT licensed, needs Elixir 1.18+, and has no required dependencies (:httpc/:ssl and the built-in JSON module; :telemetry and :plug are optional).

# mix.exs
{:forge_ops_tracker, "~> 0.10.1"}

# config/runtime.exs
config :forge_ops_tracker,
  dsn: System.get_env("FORGE_OPS_DSN"),
  environment: "production"

# application.ex, start/2, before the rest of your tree starts
ForgeOpsTracker.install_handlers()
ForgeOpsTracker.Integrations.Phoenix.attach()
ForgeOpsTracker.Integrations.Ecto.attach(MyApp.Repo)
ForgeOpsTracker.Integrations.Oban.attach()

How it works:

  • Crashes come from OTP itself. install_handlers/0 attaches a standard :logger handler, so a GenServer that raises, a linked process that dies, or an unhandled handle_info is reported with no per-callback wiring. A plain Logger.error is deliberately not reported, to keep the noise down.
  • A failing tracker can’t take your app down. Delivery goes through a supervised, bounded queue, and each HTTP call runs in its own short-lived Task. If the service is slow or unreachable, the queue drops and logs instead of blocking your process.
  • Telemetry integrations you attach yourself: per-route, per-query and per-job timings with p50/p95/p99, and a span tree for slow requests and jobs. Only requests over a threshold are sent, so fast requests cost nothing on the wire.
  • PII scrubbing happens in the client before anything leaves your node.
  • Service side: a process crashing and restarting in a tight loop won’t use up your monthly quota. Past 50 repeats an hour of one issue on the free plan, further repeats are counted but not stored or charged. When a Postgrex error carries the failing statement, the service shows which function or table it touched, with values masked.

What it doesn’t do (yet):

  • Traces aren’t propagated across services.
  • Outbound HTTP isn’t instrumented automatically, so you wrap calls with ForgeOpsTracker.span/4.
  • It uses its own protocol, so it isn’t a drop-in for other trackers’ clients.

I know ErrorTracker and Faulty are well liked here, especially if you want errors stored in your own app. This is the hosted alternative for people who’d rather not run that.

The free plan is 10,000 events a month per project.

What I’d most like to hear:

  1. What would make you use, or rule out, a hosted tracker for a BEAM app?
  2. Is there a library I should integrate that I haven’t (Broadway, Absinthe, LiveView)?
  3. Does the :logger handler approach match how you’d want crashes reported?

Thanks for reading, and I’m happy to answer anything.

Hex: forge_ops_tracker | Hex
Docs: forge_ops_tracker v0.10.1 — Documentation
ForgeOps: Elixir error tracking - ForgeOps

Source:

Where Next? Top

Trending in Announcing Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
261 13183 112
New
achempion
Hi, I would like to tell about my initiative to further maintain and develop Waffle project which is the fork of Arc library. The progre...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
charlenopires
Hi everyone :waving_hand: I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
gtcode
Aloha gang, There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here: ...
New

Other Trending Topics Top

OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
bartblast
If you haven’t tried Hologram yet, what’s stopped you? Here’s why I’m asking. Building a framework turns out to be two jobs, the framewo...
New
AstonJ
With advancements in AI gathering pace and set to increasingly accelerate, perhaps it’s worth having an annual thread on the topic - feel...
New
mat-hek
Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn: This is possible because it now builds on a very stab...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews