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

Enricher that detects stale timestamp fields in assigns.

Identifies timestamp fields (updated_at, modified_at, synced_at, fetched_at, last_seen_at)
and flags those that exceed a staleness threshold.

## Options

- `:staleness_threshold` - Age in seconds before data is considered stale (default: 300 = 5 minutes)

## Enrichment Fields

- `stale_data_count` - Number of timestamp fields exceeding threshold
- `stale_fields` - List of stale field info with `:key` and `:age_seconds`
- `timestamp_fields` - Total count of timestamp fields found
- `all_timestamps` - List of all timestamp field info

---

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