Skip to content

Commit

Permalink
docs: add status code categories
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtavares committed Jul 16, 2018
1 parent 82fb190 commit f56e083
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,15 @@ Most of the configuration is done directly in the statful instance. You can read
By default, the follow metrics are collected, with the corresponding tags:

- `response_time`
- `hostname`,
- `method`: `GET`, `POST`, `PUT`...
- `hostname`
- `method`: GET, POST, PUT ...
- `statusCode`: 200, 400, 404 ...
- `statusCodeCategory`: [Categories](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
- `statusCodeCategory`
- informational
- success
- redirection
- client_error
- server_error
- `route`: Either the route handler's name, the route path or `unknown_route`. e.g.: `/users/:id?`

## Authors
Expand Down

0 comments on commit f56e083

Please sign in to comment.