## TL;DR

Set up exclusion rules and a usage quota before shipping production volume, not after the first bill: pair hard quota limits with exclusion rules that drop the noisy-but-useless lines while keeping errors.

## Steps

1. Set up exclusion rules and a usage quota before shipping production volume, not after the first bill: pair hard quota limits with exclusion rules that drop the noisy-but-useless lines while keeping errors. Turn on index rate alerts so volume spikes page you. If you need history past your plan's retention, enable archiving to your own S3 bucket early so nothing is lost.

## When to use

You are seeing this: Turn on index rate alerts so volume spikes page you. Use this skill when you run into "Mezmo cost controls: exclusion rules, usage quotas, and archiving before retention expires".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
