# `Excessibility.TelemetryCapture.Enrichers.ComponentTree`
[🔗](https://github.com/lessthanseventy/excessibility/blob/v0.18.1/lib/telemetry_capture/enrichers/component_tree.ex#L1)

Enriches timeline events with LiveComponent structure information.

Tracks:
- Count of LiveComponents in assigns
- Component IDs (CIDs) present
- Stateful component count
- Maximum nesting depth to components

## Detection

Identifies `Phoenix.LiveComponent.CID` structs which represent
component IDs. These appear in assigns when using `@myself` or
when component references are stored.

## Example Output

    %{
      sequence: 3,
      event: "handle_event:click",
      component_count: 2,
      component_ids: [1, 5],
      stateful_components: 2,
      component_depth: 2
    }

# `cost`

# `enrich`

# `name`

---

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