Aug 14, 2024
Rename heartbeats to cron check-ins and other improvements
Ruby3.13.0
Changed
-
Remove the HTTP gem's exception handling. Errors from the HTTP gem will no longer always be reported. The error will be reported only when an HTTP request is made in an instrumented context. This gives applications the opportunity to add their own custom exception handling.
Rubybegin HTTP.get("https://appsignal.com/error") rescue => error # Either handle the error or report it to AppSignal end
-
Rename heartbeats to cron check-ins. Calls to
Appsignal.heartbeat
andAppsignal::Heartbeat
should be replaced with calls toAppsignal::CheckIn.cron
andAppsignal::CheckIn::Cron
, for example:Ruby# Before Appsignal.heartbeat("do_something") do do_something end # After Appsignal::CheckIn.cron("do_something") do do_something end
Deprecated
- Calls to
Appsignal.heartbeat
andAppsignal::Heartbeat
will emit a deprecation warning.
View the Ruby gem v3.13.0 changelog for more information.