# `Runic.Runner.Telemetry`
[🔗](https://github.com/zblanco/runic/blob/main/lib/runic/runner/telemetry.ex#L1)

Telemetry event definitions for Runic.Runner.

All events are emitted under the `[:runic, :runner, ...]` prefix.

## Event Groups

### Workflow Events
  * `[:runic, :runner, :workflow, :start]` — workflow started
  * `[:runic, :runner, :workflow, :stop]` — workflow completed
  * `[:runic, :runner, :workflow, :exception]` — workflow exception

### Runnable Events
  * `[:runic, :runner, :runnable, :start]` — runnable dispatched
  * `[:runic, :runner, :runnable, :stop]` — runnable completed
  * `[:runic, :runner, :runnable, :exception]` — runnable failed

### Store Events
  * `[:runic, :runner, :store, :start]` — store operation started
  * `[:runic, :runner, :store, :stop]` — store operation completed
  * `[:runic, :runner, :store, :exception]` — store operation failed

### Promise Events
  * `[:runic, :runner, :promise, :start]` — promise dispatched
  * `[:runic, :runner, :promise, :stop]` — promise completed

# `event_names`

Returns all telemetry event names emitted by the Runner.

Useful for `:telemetry.list_handlers/1` and handler setup.

# `promise_event`

Emits a promise lifecycle event.

## Event Types

  * `:start` — promise dispatched for execution
  * `:stop` — promise completed (includes duration measurement)

# `promise_event`

# `rehydration_event`

Emits a rehydration completion event with memory measurements.

# `runnable_event`

Emits a runnable lifecycle event.

## Event Types

  * `:dispatch` — runnable dispatched for execution
  * `:complete` — runnable completed successfully
  * `:exception` — runnable failed

# `runnable_event`

Emits a runnable completion event with measurements.

# `store_span`

Wraps a store operation in a telemetry span.

Emits `[:runic, :runner, :store, :start]` and
`[:runic, :runner, :store, :stop]` (or `:exception`).

# `workflow_event`

Emits a workflow lifecycle event.

## Event Types

  * `:start` — workflow started
  * `:stop` — workflow completed (includes duration measurement)

# `workflow_event`

# `workflow_span`

Wraps a workflow lifecycle operation in a telemetry span.

Emits `[:runic, :runner, :workflow, :start]` and
`[:runic, :runner, :workflow, :stop]` (or `:exception`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
