-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roll up HTTP success and status code group metrics (#958)
Following up on #955, I missed that our observability system would also make it too hard to roll up the various status codes into sums. So, we add some per-hundred status code metrics, and a `response.success` metric that includes both 2xx and 4xx responses. The 4xx count as success because (as the [HTTP docs say](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status)) 4xx status codes are client errors. Counting someone's system accidentally using the wrong credentials shouldn't against our success rate.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 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