The wai-middleware-metrics package

[Tags:benchmark, bsd3, library, test]

This WAI middleware counts the number of requests, the number of responses by status code 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

Versions 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4
Dependencies base (>=4.6 && <5), ekg-core (>=0.1), http-types (>=0.8), text (>=1.2), time (>=1.4), wai (>=3.0.0) [details]
License BSD3
Author Sebastian de Bellefon
Maintainer arnaudpourseb@gmail.com
Category Web
Home page https://github.com/Helkafen/wai-middleware-metrics
Source repository head: git clone git://github.com/Helkafen/wai-middleware-metrics.git
Uploaded Thu Mar 30 21:52:27 UTC 2017 by Helkafen
Distributions LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4, Tumbleweed:0.2.4
Downloads 874 total (401 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-03-30 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees