servant/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
..
example Implement `HasServer (NamedRoutes routes)` 2021-11-18 10:09:58 +01:00
src WIP: Add prometheus metrics to the servant router 2022-01-20 15:01:50 +01:00
test unsupporting GHC < 8.6.5, removing unecessary imports 2021-10-02 13:13:24 +02:00
CHANGELOG.md Prepare 0.18.3 release (#1430) 2021-06-24 00:38:46 +03:00
LICENSE Changelog and cabal file edits 2018-11-13 09:58:42 +02:00
README.md point to www.servant.dev (website) and docs.servant.dev (self-explanatory) 2019-03-02 10:08:03 +01:00
Setup.hs Change build-type: Simple; run doctests on CI via haskell-ci 2020-01-10 01:07:31 +02:00
servant-server.cabal bumped cabal-version field (#1498) 2022-01-04 22:06:23 +01:00

README.md

servant-server

servant

This library lets you implement an HTTP server with handlers for each endpoint of a servant API, handling most of the boilerplate for you.

Getting started

We've written a tutorial guide that introduces the core types and features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.