wai-middleware-metrics: A WAI middleware to collect EKG request metrics
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
Downloads
- wai-middleware-metrics-0.2.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 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] |
| Tested with | ghc ==7.6.2, ghc ==7.6.3, ghc ==7.8.1, ghc ==7.8.2, ghc ==7.8.3, ghc ==7.8.4, ghc ==7.10.1, ghc ==7.10.2, ghc ==8.0.2 |
| License | BSD-3-Clause |
| Author | Sebastian de Bellefon |
| Maintainer | arnaudpourseb@gmail.com |
| Category | Web |
| Home page | https://github.com/Helkafen/wai-middleware-metrics |
| Source repo | head: git clone git://github.com/Helkafen/wai-middleware-metrics.git |
| Uploaded | by Helkafen at 2017-03-30T21:52:27Z |
| Distributions | LTSHaskell:0.2.4, NixOS:0.2.4, Stackage:0.2.4 |
| Reverse Dependencies | 3 direct, 2 indirect [details] |
| Downloads | 7208 total (21 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2017-03-30 [all 1 reports] |