File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import Ide.Types (PluginId (..))
4646import Language.LSP.Types (NormalizedFilePath ,
4747 fromNormalizedFilePath )
4848import Numeric.Natural (Natural )
49- import OpenTelemetry.Eventlog (Instrument , SpanInFlight ,
49+ import OpenTelemetry.Eventlog (Instrument , SpanInFlight ( .. ) ,
5050 Synchronicity (Asynchronous ),
5151 addEvent , beginSpan , endSpan ,
5252 mkValueObserver , observe ,
@@ -69,7 +69,7 @@ otTracedHandler requestType label act
6969 -- Add an event so all requests can be quickly seen in the viewer without searching
7070 runInIO <- askRunInIO
7171 liftIO $ withSpan (fromString name) (\ sp -> addEvent sp " " (fromString $ name <> " received" ) >> runInIO (act sp))
72- | otherwise = act
72+ | otherwise = act ( SpanInFlight 0 )
7373
7474otSetUri :: SpanInFlight -> Uri -> IO ()
7575otSetUri sp (Uri t) = setTag sp " uri" (encodeUtf8 t)
You can’t perform that action at this time.
0 commit comments