Guest Post: Lager-Airbrake Notifier

Airbrake Notifiers send exceptions from your applications to Airbrake. The Notifiers are created by the developer community. Having a wide variety of notifiers for different programming languages and frameworks enables users to keep track of exceptions from all kinds of applications.

This time we are featuringRoberto Ostinelli, who has written Lager-Airbrake notifier, a backend for Lager a logging framework for Erlang.

Roberto:Reberto

I have a great pleasure to announce that today I’ve released Lager-Airbrake notifier.

If you are already using the popular logging framework [Lager](https://github.com/basho/lager) by Basho in your application, you might consider having an easy drop in component that will report the errors with the desired level of severity to AirBrake.

Lager-Airbrake works as a Lager backend, it is therefore fully integrated with it, and easy to setup.

In your project’s rebar.config file, add lager_airbrake as a dependency:

Then include lager_airbrake_backend in your lager configuration:

You’re done.

Lager-Airbrake will try to use some heuristics to optimize the notification sent to Airbrake, so that errors can be easily differentiated. As you may know, in Erlang it is sometimes difficult to separate the errors based on their Type so some attempts have been done to address this reporting issue.

You can check Lager-Aibrake here:
https://github.com/ostinelli/lager_airbrake