Method: Sentry.capture_check_in

Defined in:
lib/sentry-ruby.rb

.capture_check_in(slug, status, **options) ⇒ String?

Captures a check-in and sends it to Sentry via the currently active hub.

Parameters:

Options Hash (**options):

  • check_in_id (String)

    for updating the status of an existing monitor

  • duration (Integer)

    seconds elapsed since this monitor started

  • monitor_config (Cron::MonitorConfig)

    configuration for this monitor

Returns:

[View source]

487
488
489
490
# File 'lib/sentry-ruby.rb', line 487

def capture_check_in(slug, status, **options)
  return unless initialized?
  get_current_hub.capture_check_in(slug, status, **options)
end