packages feed

instana-haskell-trace-sdk-0.5.0.0: src/Instana/Wai/Middleware/Entry.hs

{-|
Module      : Instana.Wai.Middleware.Entry
Description : WAI Instana Tracing Middleware

Automatically creates entry spans for all incoming HTTP requests in a WAI
application. It will also add (or append to) the HTTP respons header
(Server-Timing) that is used for website monitoring back end correlation.

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
@
-}
module Instana.Wai.Middleware.Entry
  ( module Instana.Wai.Middleware.Entry.Internal
  ) where


import           Instana.Wai.Middleware.Entry.Internal (traceHttpEntries)