playground-common-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Servant.Prometheus

Documentation

class HasEndpoint a where Source #

Instances

Instances details
HasEndpoint Raw Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint EmptyAPI Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint WebSocket Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint WebSocketPending Source # 
Instance details

Defined in Servant.Prometheus

(HasEndpoint a, HasEndpoint b) => HasEndpoint (a :<|> b :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (WithNamedContext x y sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (HttpVersion :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (StreamBody' mods framing ct a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

Methods

getEndpoint :: Proxy (StreamBody' mods framing ct a :> sub) -> Request -> Maybe APIEndpoint Source #

enumerateEndpoints :: Proxy (StreamBody' mods framing ct a :> sub) -> [APIEndpoint] Source #

HasEndpoint sub => HasEndpoint (ReqBody' mods cts a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

Methods

getEndpoint :: Proxy (ReqBody' mods cts a :> sub) -> Request -> Maybe APIEndpoint Source #

enumerateEndpoints :: Proxy (ReqBody' mods cts a :> sub) -> [APIEndpoint] Source #

HasEndpoint sub => HasEndpoint (RemoteHost :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (QueryParam' mods h a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (QueryParams h a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (QueryFlag h :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (Header' mods h a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (IsSecure :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (Summary d :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (Description d :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

(KnownSymbol capture, HasEndpoint sub) => HasEndpoint (Capture' mods capture a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

Methods

getEndpoint :: Proxy (Capture' mods capture a :> sub) -> Request -> Maybe APIEndpoint Source #

enumerateEndpoints :: Proxy (Capture' mods capture a :> sub) -> [APIEndpoint] Source #

HasEndpoint sub => HasEndpoint (CaptureAll h a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (BasicAuth realm a :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint sub => HasEndpoint (Vault :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

HasEndpoint (BrowserHeader "Cookie" Text :> a :: Type) Source # 
Instance details

Defined in Servant.Prometheus

(KnownSymbol path, HasEndpoint sub) => HasEndpoint (path :> sub :: Type) Source # 
Instance details

Defined in Servant.Prometheus

ReflectMethod method => HasEndpoint (Verb method status cts a :: Type) Source # 
Instance details

Defined in Servant.Prometheus

Methods

getEndpoint :: Proxy (Verb method status cts a) -> Request -> Maybe APIEndpoint Source #

enumerateEndpoints :: Proxy (Verb method status cts a) -> [APIEndpoint] Source #

ReflectMethod method => HasEndpoint (Stream method status framing ct a :: Type) Source # 
Instance details

Defined in Servant.Prometheus

Methods

getEndpoint :: Proxy (Stream method status framing ct a) -> Request -> Maybe APIEndpoint Source #

enumerateEndpoints :: Proxy (Stream method status framing ct a) -> [APIEndpoint] Source #

data APIEndpoint Source #

Constructors

APIEndpoint 

Fields

Instances

Instances details
Eq APIEndpoint Source # 
Instance details

Defined in Servant.Prometheus

Show APIEndpoint Source # 
Instance details

Defined in Servant.Prometheus

Generic APIEndpoint Source # 
Instance details

Defined in Servant.Prometheus

Associated Types

type Rep APIEndpoint :: Type -> Type Source #

Hashable APIEndpoint Source # 
Instance details

Defined in Servant.Prometheus

type Rep APIEndpoint Source # 
Instance details

Defined in Servant.Prometheus

type Rep APIEndpoint = D1 ('MetaData "APIEndpoint" "Servant.Prometheus" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'False) (C1 ('MetaCons "APIEndpoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "pathSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Method)))

Orphan instances

MonadLogger m => MonadLogger (RegistryT m) Source # 
Instance details

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> RegistryT m () Source #

MonadLoggerIO m => MonadLoggerIO (RegistryT m) Source # 
Instance details

Methods

askLoggerIO :: RegistryT m (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) Source #