Excessibility.TelemetryCapture.Enrichers.Changeset (Excessibility v0.14.0)
View SourceEnriches timeline events with Ecto changeset information.
Detects Ecto.Changeset structs in assigns and extracts:
- Validity status
- Error count and fields with errors
- Changed fields
Also detects changesets nested in Phoenix.HTML.Form structs.
Output
Adds to each timeline event:
changeset_count- Number of changesets foundchangesets- List of changeset info maps with:key- The assign keyvalid?- Whether changeset is validerror_count- Number of errorserror_fields- List of fields with errorschanged_fields- List of fields that were changed