Issue Description
Sentry.capture_check_in (#2117) is used for monitoring Cron Jobs. It appears that 5.22.2 discards any non Event returned from before_event. 5.22.3 allows hashes, but does not adjust for Sentry:CheckInEvent.
Reproduction Steps
Running
check_in_id = Sentry.capture_check_in(monitor_name, :in_progress)
in sentry-ruby-5.22.3
Expected Behavior
check_in_id = Sentry.capture_check_in(monitor_name, :in_progress)
should return an alphanumeric check_in id that can later be used to complete the check in.
Actual Behavior
check_in_id = Sentry.capture_check_in(monitor_name, :in_progress) results in
Discarded event because before_send didn't return a Sentry::ErrorEvent object but an instance of Sentry::CheckInEvent
Ruby Version
3.2.3
SDK Version
5.22.3
Integration and Its Version
No response
Sentry Config
No response
Issue Description
Sentry.capture_check_in (#2117) is used for monitoring Cron Jobs. It appears that 5.22.2 discards any non Event returned from
before_event. 5.22.3 allows hashes, but does not adjust for Sentry:CheckInEvent.Reproduction Steps
Running
check_in_id = Sentry.capture_check_in(monitor_name, :in_progress)in sentry-ruby-5.22.3
Expected Behavior
check_in_id = Sentry.capture_check_in(monitor_name, :in_progress)should return an alphanumeric check_in id that can later be used to complete the check in.
Actual Behavior
check_in_id = Sentry.capture_check_in(monitor_name, :in_progress)results inRuby Version
3.2.3
SDK Version
5.22.3
Integration and Its Version
No response
Sentry Config
No response