{"id":21931426,"url":"https://github.com/mimiquate/tower_rollbar","last_synced_at":"2025-09-11T02:12:58.507Z","repository":{"id":244091694,"uuid":"812016797","full_name":"mimiquate/tower_rollbar","owner":"mimiquate","description":"Elixir exception tracking and reporting to Rollbar","archived":false,"fork":false,"pushed_at":"2025-08-23T19:30:42.000Z","size":251,"stargazers_count":14,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-01T18:52:20.675Z","etag":null,"topics":["elixir","error-handling","error-monitoring","error-reporting","error-tracking","rollbar","tower"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/tower_rollbar","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mimiquate.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-07T19:21:02.000Z","updated_at":"2025-08-27T17:50:37.000Z","dependencies_parsed_at":"2024-08-05T17:45:00.119Z","dependency_job_id":"d28f3b53-096a-4c28-904c-60467e839497","html_url":"https://github.com/mimiquate/tower_rollbar","commit_stats":null,"previous_names":["mimiquate/tower_rollbar"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/mimiquate/tower_rollbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_rollbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_rollbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_rollbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_rollbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimiquate","download_url":"https://codeload.github.com/mimiquate/tower_rollbar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimiquate%2Ftower_rollbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274564755,"owners_count":25308644,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["elixir","error-handling","error-monitoring","error-reporting","error-tracking","rollbar","tower"],"created_at":"2024-11-28T23:13:52.621Z","updated_at":"2025-09-11T02:12:58.499Z","avatar_url":"https://github.com/mimiquate.png","language":"Elixir","readme":"# TowerRollbar\n\n[![ci](https://github.com/mimiquate/tower_rollbar/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/mimiquate/tower_rollbar/actions?query=branch%3Amain)\n[![Hex.pm](https://img.shields.io/hexpm/v/tower_rollbar.svg)](https://hex.pm/packages/tower_rollbar)\n[![Documentation](https://img.shields.io/badge/Documentation-purple.svg)](https://hexdocs.pm/tower_rollbar)\n\nError tracking and reporting to Rollbar.\n\nA [Rollbar](https://rollbar.com) reporter for [Tower](https://github.com/mimiquate/tower) error handler.\n\n## Installation\n\nThe package can be installed by adding `tower_rollbar` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:tower_rollbar, \"~\u003e 0.6.4\"}\n  ]\nend\n```\n\n## Usage\n\nAsk `Tower` to use the `TowerRollbar` reporter.\n\n```elixir\n# config/config.exs\n\nconfig(\n  :tower,\n  :reporters,\n  [\n    # along any other possible reporters\n    TowerRollbar\n  ]\n)\n```\n\nAnd configure `:tower_rollbar`.\n\n```elixir\n# config/runtime.exs\n\nif config_env() == :prod do\n  config :tower_rollbar,\n    access_token: System.get_env(\"ROLLBAR_SERVER_ACCESS_TOKEN\"),\n    environment: System.get_env(\"DEPLOYMENT_ENV\", to_string(config_env()))\nend\n```\n\nThat's it.\n\nIt will try report any error, throw or abnormal exit within your application. That includes errors in\nany plug call (including Phoenix), Oban job, async task or any other process.\n\nSome HTTP request data will be included in the report if a `Plug.Conn` is available when handling the error.\n\n### Manual reporting\n\nYou can manually report errors just by informing `Tower` about any manually handled errors, throws or abnormal exits.\n\n\n```elixir\ntry do\n  # possibly crashing code\nrescue\n  exception -\u003e\n    Tower.report_exception(exception, __STACKTRACE__)\nend\n```\n\nMore details on https://hexdocs.pm/tower/Tower.html#module-manual-reporting.\n\n## License\n\nCopyright 2024 Mimiquate\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimiquate%2Ftower_rollbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimiquate%2Ftower_rollbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimiquate%2Ftower_rollbar/lists"}