← Changelog

Rename heartbeats to cron check-ins

Aug 14, 2024
Elixir2.12.2

Changed

  • Rename heartbeats to cron check-ins. Calls to Appsignal.heartbeat and Appsignal.Heartbeat should be replaced with calls to Appsignal.CheckIn.cron and Appsignal.CheckIn.Cron, for example:

    Elixir
    # Before
    Appsignal.heartbeat("do_something", fn ->
      do_something()
    end)
     
    # After
    Appsignal.CheckIn.cron("do_something", fn ->
      do_something
    end)

Deprecated

  • Calls to Appsignal.heartbeat and to methods in Appsignal.Heartbeat will emit a deprecation warning at compile-time.

View the Elixir package v2.12.2 changelog for more information.

$appsignal install

Make your next crash make sense.

Free for 30 days. No credit card. Two-minute install.