PostHog introduced their Error Tracking solution a couple of months ago. Right now they only support Python and JS, but the team was kind enough to add support for language-agnostic errors, which LogHog uses to bring error tracking to Elixir.
Version 0.2.0 ships with:
- A logger handler that sends errors, log messages (optional), and metadata to PostHog
- Request batching with a simple genserver
- Full test coverage against
LoggerHandlerKit
test suite
Keep in mind that both PostHog’s Error Tracking and this library are fairly new. If you’re already using PostHog or have a high risk tolerance, give it a shot.