servant/servant-server/src/Servant/Server
Arian van Putten 86d2f6ec9d WIP: Add prometheus metrics to the servant router
Annotates the routing tree with a middleware that instruments each endpoint in your servant application.
For each endpoint we will keep track of a histogram with request latency + request count

Captures are automatically filtered; such that  /users/13813 and /users/24774
get mapped to the same metric.

Unfortunately the name of the capture is not preserved; as we throw away that
data when we're at the point of routing. We could perhaps change this but it's
more significant change.
2022-01-20 15:01:50 +01:00
..
Experimental Split RouteApplication mega-module 2019-02-27 15:06:56 +02:00
Internal WIP: Add prometheus metrics to the servant router 2022-01-20 15:01:50 +01:00
Generic.hs Code reorganization 2021-11-18 10:09:58 +01:00
Internal.hs Add comment about slightly incorrect error message 2022-01-18 16:25:11 +01:00
StaticFiles.hs Cleanup pre-GHC-8.0 stuff 2018-07-11 01:39:38 +03:00
UVerb.hs Add response header support to UVerb (#1420) 2021-06-10 17:10:50 +02:00