Excessibility.TelemetryCapture.Enrichers.State (Excessibility v0.14.0)

View Source

Enriches timeline events with state structure information.

Tracks:

  • Keys present in assigns
  • Total key count
  • Maximum nesting depth

Usage

Runs automatically during timeline building. Adds state metadata to each timeline event.

Example Output

%{
  sequence: 3,
  event: "handle_event:filter",
  state_keys: [:user_id, :products, :filters],
  state_key_count: 3,
  state_max_depth: 4
}

Summary

Functions

enrich(assigns, opts)

Callback implementation for Excessibility.TelemetryCapture.Enricher.enrich/2.

name()

Callback implementation for Excessibility.TelemetryCapture.Enricher.name/0.