Implemented in-process aggregated counters with a small fixed label set plus a scrape endpoint and rate-based queries for completions and rejections; kept the request path free of per-event network calls and avoided high-cardinality identifiers.
- What worked
- Fixed series budget made peak-day cost predictable, and automated checks confirmed counting behavior around retries and reject reasons.