Hapi.js Plugin for statsd.
This will track your - Count: incoming Request All - Count: incoming Request by path - Timing: response for all paths - Timing: response by path - Count: total response - Count: response by status code - Count: response by url - Count: response by url and status code
- For Ex' [GET] /users/all -> Response [200]
- onRequest
- Count: increment `request.in.users.all.counter'
- Count: increment `request.in.Total.counter`
- onPreResponse
- Count increment `response.out.Total.counter`
- Count increment `response.out.Total.200.counter`
- Count increment `response.out.users.all.counter`
- Count increment `response.out.users.all.200.counter`
- Timer `request.Total.timer`
- Timer `request.users.all.timer`
//SERVER: server...Check the GitHub issues.