Safe Haskell | None |
---|---|
Language | Haskell2010 |
Servant.Ekg
- gaugeInflight :: Gauge -> Middleware
- countResponseCodes :: (Counter, Counter, Counter, Counter) -> Middleware
- responseTimeDistribution :: Distribution -> Middleware
- data Meters = Meters {}
- monitorEndpoints :: HasEndpoint api => Proxy api -> Store -> MVar (HashMap Text Meters) -> Middleware
- class HasEndpoint a where
Documentation
gaugeInflight :: Gauge -> Middleware Source #
countResponseCodes :: (Counter, Counter, Counter, Counter) -> Middleware Source #
Count responses with 2XX, 4XX, 5XX, and XXX response codes.
Constructors
Meters | |
Fields
|
monitorEndpoints :: HasEndpoint api => Proxy api -> Store -> MVar (HashMap Text Meters) -> Middleware Source #
class HasEndpoint a where Source #
Minimal complete definition
Instances