Skip to content

Add Sentry integration#5

Merged
route merged 5 commits into
bitsbeam:mainfrom
dmexe:sentry-integration
Jun 26, 2026
Merged

Add Sentry integration#5
route merged 5 commits into
bitsbeam:mainfrom
dmexe:sentry-integration

Conversation

@dmexe

@dmexe dmexe commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

It adds a middleware to Cosmo::Job::Processor which starts a transaction in Sentry (if enabled) and captures exceptions. The integration is fully covered by specs.

To enable it in an application, simply add a require statement:

# config/initializers/cosmonats.rb
require "cosmo/sentry/auto"

@route

route commented Jun 25, 2026

Copy link
Copy Markdown
Member

Tests failed

@dmexe

dmexe commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

@route fixed

@dmexe dmexe force-pushed the sentry-integration branch from d6bae64 to ef15f99 Compare June 26, 2026 11:10
@route route merged commit 8ec4ff8 into bitsbeam:main Jun 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants