Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Documentation
traceHttpEntries :: InstanaContext -> Application -> Application Source #
Run the tracing middleware given an initialized Instana SDK context.