Surface error groups that are firing right now.
- Parse
$ARGUMENTSas the lookback window. Default to1h. Convert to an ISO 8601 timestamp for "now minus duration". - Call
list_error_groupswithsince: <iso-timestamp>and the default limit. Note:sincefilters bylast_seen_at, so this returns groups that have been hit at least once in the window — not strictly groups that "spiked", but it's the closest available signal. - Sort the response by
occurrences_countdescending and render:id | exception_class | count | first_seen_at | last_seen_at. - Flag any group whose
first_seen_atis inside the window — those are brand-new errors that only started appearing now, which is the strongest spike signal. - Offer to drill into the top one with
/debug <id>.
If you also want a global volume picture, suggest /stats <period> — that one shows time-bucketed counts across the whole instance.