Available now

Sinatra Error Tracking

Self-hosted error monitoring for your Sinatra applications

Installation

Add the Checkend gem to your project and install it.

Installation
# Add to your Gemfile
gem 'checkend'

# Install the gem
bundle install

Configuration

Configure Checkend with your API key and self-hosted endpoint.

Configuration
# In your Sinatra app
require 'checkend'

Checkend.configure do |config|
  config.api_key = ENV['CHECKEND_API_KEY']
  config.endpoint = ENV['CHECKEND_ENDPOINT']
end

# Use the Rack middleware
use Checkend::Rack::Middleware

Sinatra integration features

  • Rack middleware for automatic error capture
  • Request context included with errors
  • Manual exception capture API
  • Environment metadata collection
  • Lightweight integration footprint

Frequently asked questions

How do I get my API key?

After deploying Checkend, create a project in the dashboard. Your API key will be displayed on the project settings page.

What endpoint should I use?

Use your self-hosted Checkend URL followed by /api/v1/notices. For example: https://errors.yourcompany.com/api/v1/notices

Can I filter which errors are reported?

Yes, the Checkend SDK supports filtering. You can configure ignored exceptions and customize which errors are captured using callbacks.

Ready to add error tracking to your Sinatra app?

Follow our quickstart guide to deploy Checkend and start capturing errors.