wai-middleware-metrics: A WAI middleware to collect EKG request metrics

[ bsd3, library, web ] [ Propose Tags ]

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




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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]
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 6851 total (31 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]