Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- otTracedHandler :: MonadUnliftIO m => String -> String -> (SpanInFlight -> m a) -> m 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)
- otTracedProvider :: MonadUnliftIO m => PluginId -> ByteString -> m a -> m a
- otSetUri :: SpanInFlight -> Uri -> IO ()
Documentation
:: MonadUnliftIO m | |
=> String | Message type |
-> String | Message label |
-> (SpanInFlight -> m a) | |
-> m a |
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.
otTracedProvider :: MonadUnliftIO m => PluginId -> ByteString -> m a -> m a Source #