The wai-middleware-metrics package

[maintain]

This WAI middleware counts the number of requests, the number of server errors (http status >= 500) and keeps a latency distribution.

It can be added to any WAI-based webserver, such as Yesod, Scotty, Spock and Servant.

The counters are EKG Counters from ekg-core. https://ocharles.org.uk/blog/posts/2012-12-11-24-day-of-hackage-ekg.html

Properties

Versions0.2.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3
Dependenciesbase (>=4.6 && <5), ekg-core (>=0.1), http-types (>=0.8), time (>=1.4), wai (>=3.0.0) [details]
LicenseBSD3
AuthorSebastian de Bellefon
Maintainerarnaudpourseb@gmail.com
CategoryWeb
Home pagehttps://github.com/Helkafen/wai-middleware-metrics
Source repositoryhead: git clone git://github.com/Helkafen/wai-middleware-metrics.git
UploadedFri Jun 12 21:57:08 UTC 2015 by Helkafen

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees