{"id":15605260,"url":"https://github.com/ostinelli/lager_airbrake","last_synced_at":"2025-04-26T12:30:03.861Z","repository":{"id":28502543,"uuid":"32019006","full_name":"ostinelli/lager_airbrake","owner":"ostinelli","description":"An Airbrake lager backend.","archived":false,"fork":false,"pushed_at":"2018-03-01T16:34:12.000Z","size":30,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T08:24:52.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ostinelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-11T13:27:11.000Z","updated_at":"2019-11-14T11:22:49.000Z","dependencies_parsed_at":"2022-09-07T09:00:20.940Z","dependency_job_id":null,"html_url":"https://github.com/ostinelli/lager_airbrake","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostinelli%2Flager_airbrake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostinelli%2Flager_airbrake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostinelli%2Flager_airbrake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostinelli%2Flager_airbrake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ostinelli","download_url":"https://codeload.github.com/ostinelli/lager_airbrake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250803923,"owners_count":21490171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T04:03:43.151Z","updated_at":"2025-04-25T10:49:35.012Z","avatar_url":"https://github.com/ostinelli.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lager Airbrake\n\nThis is a [Lager](https://github.com/basho/lager) backend for [Airbrake](https://www.airbrake.io). If you are using Lager in your application, this backend will report the errors with the desired level of severity to Airbrake.\n\nLager Airbrake will try to use some heuristics to optimize the notification sent to Airbrake, so that errors can be easily differentiated.\n\n\n### Install\n\nIn your project's `rebar.config` file, add `lager_airbrake` as a dependency:\n\n```erlang\n{lager_airbrake, \".*\", {git, \"git://github.com/ostinelli/lager_airbrake.git\", \"master\"}}\n```\n\nThen include `lager_airbrake_backend` in your `lager` configuration:\n\n```erlang\n%% Lager config\n{lager, [\n    {handlers, [\n        %% Add Airbrake monitoring\n        {lager_airbrake_backend, [\n            {environment, \"development\"},\n            {api_key, \"AIRBRAKE_API_KEY\"},\n            {project_id, \"AIRBRAKE_PROJECT_ID\"},\n            {level, warning},\n            {ignore, [\n                {file, \"my_app_ignored_file.erl\"},\n                {message, \"Ignore message\"}\n            ]}\n        ]},\n\n        [...]\n    ]},\n\n[...]\n}\n```\n\n`ignore` is a list that allows you to specify which errors should be ignored, i.e. not notified to AirBrake. You can specify two types of ignore statements:\n\n * `file`: the associated regex will be matched against the filename where the error is generated.\n * `message`: the associated regex will be matched against the error message.\n\n\n### Dependencies\nDependencies are automatically managed by [rebar](https://github.com/rebar/rebar). These are:\n\n * [iBrowse](https://github.com/cmullaparthi/ibrowse) - HTTP client\n * [Jiffy](https://github.com/davisp/jiffy) - JSON encoder\n\n### Contributing\nSo you want to contribute? That's great!\n\nEvery pull request should have its own topic branch. In this way, every additional adjustments to the original pull request might be done easily, and squashed with `git rebase -i`. The updated branch will be visible in the same pull request, so there will be no need to open new pull requests when there are changes to be applied.\n\nDo not commit to master in your fork. Provide a clean branch without merge commits.\n\n\n### Legal notice\nAll product names and trademarks are the property of their respective owners, which are in no way associated or affiliated with the developer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostinelli%2Flager_airbrake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fostinelli%2Flager_airbrake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fostinelli%2Flager_airbrake/lists"}