telemetria v0.5.1 Telemetria.Handler behaviour View Source

The behaviour to be implemented by consumers.

Telemetría provides the default handler, that simply delegates to Logger.info/1.

See: Telemetria.Handler.Default.

Link to this section Summary

Callbacks

The callback that will be invoked by :telemetry

Link to this section Callbacks

Link to this callback

handle_event(arg1, arg2, arg3, arg4)

View Source

Specs

handle_event(
  :telemetry.event_name(),
  :telemetry.event_measurements(),
  :telemetry.event_metadata(),
  :telemetry.handler_config()
) :: :ok

The callback that will be invoked by :telemetry