Tlm.Heartbeat (tlm v0.1.0)

Copy Markdown

Tells Tlm the app is up: one heartbeat when the app starts, then one an hour, so a healthy app with no errors still shows as set up, along with its release, environment and SDK version.

Heartbeats go through Tlm.Sender, so they never block boot. A short-lived boot (a release command, say) may exit before one goes out, which is fine. Without a DSN, nothing is sent.

Summary

Functions

Returns a specification to start this module under a supervisor.

The heartbeat for this app, as the protocol has it.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

payload()

The heartbeat for this app, as the protocol has it.

start_link(opts)