Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

koajs/statsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa-statsd

Statsd middleware.

Installation

$ npm install koa-statsd

Options

  • prefix optional statsd prefix ('.' is appended)
  • host optional statsd host
  • port optional statsd port

Metrics

  • request.count request counter
  • request.<method>.count request counter
  • request.size request content-length
  • request.duration request duration
  • request.<method>.duration request duration
  • request.addresses request addresses set

License

MIT