From f56e083319fa14042dd6887df956945ad27b958b Mon Sep 17 00:00:00 2001 From: Jose Tavares Date: Mon, 16 Jul 2018 18:18:41 +0100 Subject: [PATCH] docs: add status code categories --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04fa4e0..3eb889f 100644 --- a/README.md +++ b/README.md @@ -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