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 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

Versions [faq] 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), 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 Sun Jun 14 03:24:20 UTC 2015
Distributions NixOS:0.2.4
Downloads 3548 total (94 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-06-14 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees