Telemetry event name constants and emit helpers for Elixir Server Core.
Events
| Event | Emitted when |
|---|---|
[:core, :job, :start] | A worker begins executing a job |
[:core, :job, :stop] | A job completes successfully |
[:core, :job, :error] | A job raises an exception |
Attaching handlers
:telemetry.attach_many(
"my-handler",
[Core.Telemetry.Events.job_start(), Core.Telemetry.Events.job_stop()],
&MyApp.Telemetry.handle_event/4,
nil
)
Summary
Functions
Emit job_error. Called by the worker on exception.
Emit job_start. Called by the worker before performing work.
Emit job_stop. Called by the worker on success.
Functions
Emit job_error. Called by the worker on exception.
Emit job_start. Called by the worker before performing work.
Emit job_stop. Called by the worker on success.