ghcide-1.2.0.2: The core of an IDE
Safe HaskellNone
LanguageHaskell2010

Development.IDE.Core.Tracing

Synopsis

Documentation

otTracedHandler Source #

Arguments

:: 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.

otTracedAction Source #

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.

measureMemory Source #

Arguments

:: Logger 
-> [[Key]]

Grouping of keys for the sharing-aware analysis

-> (Maybe Key -> IO OurValueObserver) 
-> Var Values 
-> IO () 

getInstrumentCached :: IO (Maybe Key -> IO OurValueObserver) Source #