[Haskell-cafe] [ANN] wai-middleware-metrics package

Sebastian arnaudpourseb at gmail.com
Sat Jun 20 00:48:26 UTC 2015


Hello everyone,

I'm announcing the release of the wai-middleware-metrics package.

http://hackage.haskell.org/package/wai-middleware-metrics
https://github.com/Helkafen/wai-middleware-metrics

Full example here with scotty:
https://hackage.haskell.org/package/wai-middleware-metrics-0.2.1/docs/Network-Wai-Metrics.html


It registers some ekg metrics in WAI web servers (scotty, servant,
yesod...) using a middleware.

Right now the metrics are:
- wai.request_count
- wai.server_error_count
- wai.latency_distribution

Time distributions will benefit from future developments
<http://blog.johantibell.com/2014/05/ekg-04-released.html> in ekg and
become more descriptive.

Other metrics could be added. Ideas, contributions and comments are welcome!

Cheers

-- 
Sebastian de Bellefon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150619/4a1d1885/attachment.html>


More information about the Haskell-Cafe mailing list