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.


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
Category Web
Home page
Source repository head: git clone 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)
0 []
Status Docs available [build log]
Last success reported on 2017-03-30 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees