instana-haskell-trace-sdk-0.3.0.0: SDK for adding custom Instana tracing support to Haskell applications.

Safe HaskellNone
LanguageHaskell2010

Instana.Wai.Middleware.Entry

Description

Automatically creates entry spans for all incoming HTTP requests in a WAI application. Note that exit spans still need to be created manually via the withExit or startExit/stopExit functions.

Example

main = do
  Warp.run 3000 $ InstanaWaiMiddleware.traceHttpEntries instana $ app

Synopsis

Documentation

traceHttpEntries :: InstanaContext -> Application -> Application Source #

Run the tracing middleware given an initialized Instana SDK context.