Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make statsd errors correspond to 5xx only
The goal is to make the successful statsd buckets (e.g. "object-server.GET.timing") have timing information for all the requests that the server handled correctly, while the error buckets (e.g. "object-server.GET.errors.timing") have the rest. Currently, we don't do that great a job of it. We special-case a few 4xx status codes (404, 412, 416) to not count as errors, but we leave some pretty large holes. If you're graphing errors, you'll see spikes when client is sending bogus requests (400) or failing to re-authenticate (403). You'll also see spikes when your drives are unmounted (507) and when there's bugs that need fixing (500). This commit makes .errors.timing be just 5xx in the hope that its graph will be more useful. Change-Id: I92b41bcbb880c0688c37ab231c19ebe984b18215
- Loading branch information
Showing
2 changed files
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters