{"id":13509419,"url":"https://github.com/adjust/airbax","last_synced_at":"2025-10-21T15:37:59.723Z","repository":{"id":9853285,"uuid":"63549736","full_name":"adjust/airbax","owner":"adjust","description":"Exception tracking from Elixir to Airbrake","archived":true,"fork":true,"pushed_at":"2018-03-21T14:31:19.000Z","size":72,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T02:08:43.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ForzaElixir/rollbax","license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adjust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-17T19:52:59.000Z","updated_at":"2024-11-18T15:42:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adjust/airbax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fairbax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fairbax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fairbax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fairbax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjust","download_url":"https://codeload.github.com/adjust/airbax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246324013,"owners_count":20759062,"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-08-01T02:01:07.428Z","updated_at":"2025-10-21T15:37:59.331Z","avatar_url":"https://github.com/adjust.png","language":"Elixir","funding_links":[],"categories":["Third Party APIs"],"sub_categories":[],"readme":"# Airbax\n\n[![Build Status](https://travis-ci.org/adjust/airbax.svg?branch=master \"Build Status\")](https://travis-ci.org/adjust/airbax)\n[![Hex Version](https://img.shields.io/hexpm/v/airbax.svg \"Hex Version\")](https://hex.pm/packages/airbax)\n\nElixir client for [Airbrake](https://airbrake.io).\n\nAirbax is a clone of awesome [Rollbax](https://github.com/elixir-addicts/rollbax), but for Airbrake/Errbit.\n\nAirbax was made by simply replacing 'rollbax' with 'airbax' everywhere in the code, changing\n`Rollbax.Item` and `Rollbax.Client` to make them compatible with Airbrake API specifications\nand fixing some tests. That's it.  \nAll credits go to Rollbax.\n\n## Installation\n\nAdd Airbax as a dependency to your `mix.exs` file:\n\n```elixir\ndefp deps() do\n  [{:airbax, \"0.0.6\"}]\nend\n```\n\nand add it to your list of applications:\n\n```elixir\ndef application() do\n  [applications: [:airbax]]\nend\n```\n\nThen run `mix deps.get` in your shell to fetch the dependencies.\n\n## Usage\n\nAirbax requires some configuration in order to work. For example, in `config/config.exs`:\n\n```elixir\nconfig :airbax,\n  project_key: \"ffb8056a621f309eeb1ed87fa0c7\",\n  project_id: true,\n  environment: \"production\"\n```\n\nIf you're using Errbit, add to the configuration above an URL of your Errbit service as `url` parameter.  \n\nThen, exceptions (errors, exits, and throws) can be reported to Airbrake or Errbit using `Airbax.report/3`:\n\n```elixir\ntry do\n  DoesNotExist.for_sure()\nrescue\n  exception -\u003e\n    Airbax.report(:error, exception, System.stacktrace())\nend\n```\n\n### Plug and Phoenix\n\nFor examples on how to take advantage of Airbax in Plug-based applications (including Phoenix applications), have a look at the [\"Using Airbax in Plug-based applications\" page in the documentation](http://hexdocs.pm/airbax/using-airbax-in-plug-based-applications.html).  \n\n### Non-production reporting\n\nFor non-production environments error reporting can be either disabled completely (by setting `:enabled` to `false`) or replaced with logging of exceptions (by setting `:enabled` to `:log`).\n\n```elixir\nconfig :airbax, enabled: :log\n```\n\n## License\n\nThis software is licensed under [the ISC license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fairbax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjust%2Fairbax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fairbax/lists"}