Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koajs/statsd

Statsd middleware
https://github.com/koajs/statsd

Last synced: 27 days ago
JSON representation

Statsd middleware

Awesome Lists containing this project

README

        

# koa-statsd

Statsd middleware.

## Installation

```js
$ 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..count` request counter
- `request.size` request content-length
- `request.duration` request duration
- `request..duration` request duration
- `request.addresses` request addresses set

## License

MIT