Migrate from Airbrake
Move a Rails app from Airbrake to errorgap in about five minutes: swap the gem, run both during cutover, report deploys, and verify.
errorgap groups errors the way you're used to, and adds incidents, logs, uptime and an MCP server your AI assistant can query. Expect about 5 minutes for a Rails app.
01Concept map
Most of what you set up in Airbrake has a direct equivalent.
airbrake:deployReleasesShown as markers on charts and incident timelines.add_filterRedaction rulesConfigured per project, applied before storage.02Swap the gem
Add errorgap. Keep the Airbrake gem for now; you'll remove it after cutover.
Then add an initializer next to the Airbrake one. Your endpoint, project slug and API key are on the project's setup page.
The gem hooks into Rails through a railtie and reports unhandled exceptions from every environment. To skip some, set config.ignore_environments = %w[test development].
If you used add_filter to drop or scrub params, recreate those as redaction rules in Project settings → Privacy. They run on our side before anything is stored.
03Run both during cutover
config/initializers/airbrake.rb and the gem.04Report deploys
Replace the airbrake:deploy task in your deploy script with one request. Send sha and environment so errors are attributed to the release that introduced them.
05Verify
- Deploy, or restart your app locally with the new initializer.
- Send a test error from
rails console. Errors raised inside a request are reported automatically; from the console, notify explicitly:
Errorgap.notify(StandardError.new("Errorgap test error"))- Open the project in errorgap. The error appears on the Overview within a few seconds, with the release you reported attached.