Ruby SDK

Ruby error tracking that reads like Ruby

One gem for Ruby error tracking and request monitoring — auto-wired on Rails through a Railtie, one configure block everywhere else, unified with logs, uptime, and infrastructure on the same platform.

Why Ruby and Rails teams need real error tracking

A RuntimeError in production Rails lands in log/production.log on one of several dynos or servers, minutes before the log rotates. Was it a new bug or the same one from last week? Did it start with Friday's deploy? Which controller action raised it, and how many requests hit it? Without proper Ruby error tracking, every one of those answers costs an engineer an afternoon of grep — and the slow Rack request degrading your checkout never shows up at all.

AllStak's Ruby gem answers them automatically. One AllStak.configure block with your API key sets it up; on Ruby on Rails a Railtie wires everything in and inserts the Rack middleware automatically, so inbound requests are tracked with no further code. Handled exceptions report through AllStak.capture_exception, and plain Rack apps add the same middleware in one line. Errors arrive grouped by release and environment, next to your logs, uptime checks, and host metrics — one platform, one bill.

Full-stack Ruby monitoring

From the first unhandled exception to the host it ran on, AllStak covers your Ruby and Rails apps across every layer.

Error tracking

Capture exceptions with full Ruby backtraces, environment, and release — grouped so a thousand occurrences of the same bug read as one issue, not a thousand.

Rails auto-wiring

On Ruby on Rails a Railtie wires the SDK in and inserts the Rack middleware automatically — configure once in an initializer and no further wiring is needed.

Request tracking

Inbound requests are tracked by the Rack middleware — auto-inserted on Rails, one use line on plain Rack — so you see which endpoints fail and which ones drag.

Log management

Centralize logs from every Ruby service next to the errors they relate to, searchable from the same dashboard instead of rotating files.

Infrastructure monitoring

A lightweight host agent reports CPU, memory, disk, network, and Docker — so you can tell an app bug from a worker starved of resources.

Alerts & incidents

Get notified on new errors, spikes, and threshold breaches via Slack, email, webhooks, PagerDuty, Opsgenie, or Telegram — with incidents that keep on-call organized.

Add AllStak in minutes

Install the gem and configure with a block before the app boots — on Rails the Railtie does the rest automatically.

config/initializers/allstak.rb
gem install allstak

require "allstak"

AllStak.configure do |config|
  config.api_key = ENV["ALLSTAK_API_KEY"]
  config.environment = ENV.fetch("APP_ENV", "production")
  config.release = ENV["ALLSTAK_RELEASE"]
  config.service_name = "checkout-api"
end

On Rails, no further wiring is needed — the Railtie inserts the Rack middleware automatically. On plain Rack apps, add AllStak::Integrations::Rack::Middleware yourself. full setup guide · SDK reference.

What you see in AllStak

Error detail with full context

Open any issue to a full Ruby backtrace, the environment and release it came from, and how often and how recently it fired — everything triage needs on one screen.

Requests & performance

Per-endpoint latency and error rates from the Rack middleware show exactly which route degraded and when — no production.log spelunking required.

Unified real-time dashboard

Errors, requests, logs, and host health for all your Ruby apps update live on one dashboard — in English or Arabic — so the whole team shares the same picture.

Why teams pick AllStak for Ruby

  • One platform for errors, requests, logs, uptime, and infrastructure — one bill, no tool sprawl.
  • Rails auto-wiring via a Railtie: one configure block and the Rack middleware inserts itself.
  • The same gem covers plain Ruby and Rack apps — add the middleware in one line.
  • Releases and environments separate your data, so a regression points at the deploy that caused it.
  • Predictable SAR pricing with a genuine free tier — start without a credit card.
  • Data stays in Saudi Arabia, with an English and Arabic dashboard for the whole team.

Ruby monitoring FAQ

How do I add error tracking to a Ruby app?

Add gem "allstak" to your Gemfile (or gem install allstak) and call AllStak.configure with your API key before the app boots. Handled exceptions report through AllStak.capture_exception, and the Rack middleware tracks inbound requests — the setup guide covers the full configuration.

Does AllStak support Ruby on Rails?

Yes. On Rails the gem is auto-wired via a Railtie: configure it once in an initializer and the Rack middleware is inserted automatically, so errors and inbound requests are tracked with no further wiring. Non-Rails Rack apps add the same middleware with one use line.

Is AllStak free for Ruby?

Yes. AllStak has a free tier you can start on without a credit card, and predictable SAR pricing as you grow. The Ruby gem itself is free to use.

Is AllStak a Sentry or Honeybadger alternative for Rails?

Yes. You get Ruby error tracking with grouping, releases, and Rails auto-wiring — plus request tracking, logs, uptime, and infrastructure monitoring on the same platform, consolidated with SAR pricing and data stored in Saudi Arabia instead of a stack of separate subscriptions.

Will the gem slow down my Ruby app?

The gem is built for production: it hooks in once through the Rack middleware rather than wrapping your application code, so capture rides the request lifecycle the framework already runs. You get visibility without meaningfully impacting response times.

Start monitoring Ruby today

Install the gem, configure once, and watch errors, requests, and host health flow into one dashboard. Start free — no credit card required.