| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Development.IDE.Core.Tracing
Synopsis
- otTracedHandler :: String -> String -> (SpanInFlight -> 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)
- otTracedProvider :: PluginId -> ByteString -> IO a -> IO a
- otSetUri :: SpanInFlight -> Uri -> IO ()
Documentation
Arguments
| :: String | Message type |
| -> String | Message label |
| -> (SpanInFlight -> IO a) | |
| -> IO a |
Trace a handler using OpenTelemetry. Adds various useful info into tags in the OpenTelemetry span.
Arguments
| :: 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 :: PluginId -> ByteString -> IO a -> IO a Source #