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

View Source

Enriches timeline events with query/database information.

Counts:

  • Total Ecto records loaded in assigns
  • NotLoaded associations (potential N+1 indicators)

Usage

Runs automatically during timeline building. Adds query metrics to each timeline event.

Example Output

%{
  sequence: 3,
  event: "handle_event:filter",
  query_records_loaded: 47,
  query_not_loaded_count: 12
}

Summary

Functions

enrich(assigns, opts)

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

name()

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