Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Crystal
  3. raven.cr

raven.cr

MITCrystalv1.9.5

A Crystal client and integration layer for the Sentry error reporting API.

Visit WebsiteGitHubGitHub
130 stars18 forks0 contributors

What is raven.cr?

Raven.cr is an unofficial Crystal client for Sentry, a popular error tracking and monitoring platform. It allows Crystal developers to capture exceptions, log events, and send them to Sentry for real-time debugging and performance monitoring. The library integrates seamlessly with Crystal's logging system and popular web frameworks.

Target Audience

Crystal developers building web applications or services who need robust error tracking and monitoring capabilities. It's particularly useful for teams using frameworks like Kemal, Amber, or Lucky.

Value Proposition

Developers choose Raven.cr because it provides a native, feature-complete Sentry client for Crystal, with framework integrations, async support, and a dedicated crash handler—filling a gap in the Crystal ecosystem for professional error monitoring.

Overview

Raven is a Crystal client for Sentry

Use Cases

Best For

  • Adding error tracking to Crystal web applications
  • Monitoring production crashes in Kemal or Amber apps
  • Capturing and debugging exceptions in background jobs with Sidekiq.cr
  • Enriching log data with user context and breadcrumbs
  • Handling unhandled exceptions and segfaults in Crystal binaries
  • Integrating Sentry with Crystal's built-in Log infrastructure

Not Ideal For

  • Teams requiring official Sentry support with guaranteed updates and direct vendor assistance
  • Projects operating in highly regulated environments where external data transmission must be minimized or audited extensively
  • Applications with extremely lightweight error handling needs that can be satisfied by Crystal's built-in exception logging

Pros & Cons

Pros

Framework Integrations

Built-in support for Kemal, Amber, Lucky, Sidekiq.cr, and action-controller, allowing seamless error tracking in popular Crystal ecosystems without custom glue code.

Async Event Handling

Configurable async callbacks enable non-blocking error reporting, with examples for background jobs like Sidekiq.cr to maintain application performance.

Crash Handler for Reliability

External binary crash handler captures unhandled exceptions and segfaults, addressing a gap in Crystal's native error handling for production robustness.

Log Backend Integration

Dedicated Log backend intercepts Crystal's standard log entries to record breadcrumbs or capture exceptions, enhancing debugging with minimal code changes.

Environment-Safe Configuration

Automatically activates only when SENTRY_DSN is set, preventing accidental error reports in development and simplifying environment-based setup.

Cons

Unofficial Client Limitations

As a community-maintained project, it may not keep pace with Sentry's official SDK updates, potentially missing new features or timely security patches.

Crash Handler Deployment Complexity

Requires compiling and running a separate binary wrapper, adding steps to the build and deployment process compared to integrated solutions.

Default Data Scrubbers Omit Context

Sensitive data like POST bodies and cookies are not reported by default, which might hinder debugging unless explicitly configured, as noted in the README.

Frequently Asked Questions

Quick Stats

Stars130
Forks18
Contributors0
Open Issues5
Last commit18 days ago
CreatedSince 2017

Tags

#error-monitoring#sentry-client#kemal#crystal-lang#monitoring#error-tracking#logging#crystal#error-reporting#amber-framework#lucky-framework#sentry#crash-reporting

Built With

C
Crystal

Links & Resources

Website

Included in

Crystal3.5k
Auto-fetched 18 hours ago

Related Projects

awscr-s3awscr-s3

A Crystal shard for S3.

Stars90
Forks52
Last commit5 months ago
twitter-crystaltwitter-crystal

A library to access the Twitter API using Crystal

Stars82
Forks16
Last commit5 years ago
stripe.crstripe.cr

Stripe API Wrapper for crystal

Stars51
Forks21
Last commit7 months ago
gitlab.crgitlab.cr

Gitlab.cr is a GitLab API wrapper written by Crystal

Stars30
Forks9
Last commit5 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub