Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- otTracedHandler :: String -> String -> IO a -> IO a
- otTracedAction :: Show k => k -> NormalizedFilePath -> (a -> Bool) -> Action a -> Action a
- startTelemetry :: Bool -> Logger -> Var Values -> IO ()
- measureMemory :: Logger -> [[Key]] -> (Maybe Key -> IO OurValueObserver) -> Var Values -> IO ()
- getInstrumentCached :: IO (Maybe Key -> IO OurValueObserver)
Documentation
Trace a handler using OpenTelemetry. Adds various useful info into tags in the OpenTelemetry span.
:: Show k | |
=> k | The Action's Key |
-> NormalizedFilePath | Path to the file the action was run for |
-> (a -> Bool) | Did this action succeed? |
-> Action a | The action |
-> Action a |
Trace a Shake action using opentelemetry.