packages feed

opentelemetry-lightstep 0.1.0 → 0.2.0

raw patch · 2 files changed

+6/−5 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

just-some-usage-code-that-must-compile/SomeUsageOfImplicitApi.hs view
@@ -43,13 +43,14 @@   addEvent "log" "rpc roundtrip end"   withSpan "project" $ do     -- Connecting spans across threads requires some manual plumbing-    sp <- getCurrentActiveSpan+    Just sp <- getCurrentActiveSpan     asyncWork <- async $ withChildSpanOf sp "data science" $ do       threadDelay 1000000-      pure 42+      pure (42 :: Int)     -- Doing a withSpan inside a loop is fine     forM_ [input .. input + 10] $ \i -> withSpan "sprint" $ do       -- setTag "week" i-      threadDelay 10000-    wait asyncWork+      threadDelay (10000 + i)+    _ <- wait asyncWork+    pure ()   pure result
opentelemetry-lightstep.cabal view
@@ -2,7 +2,7 @@ name:                opentelemetry-lightstep description:         The OpenTelemetry Haskell Client (LightStep exporter) https://opentelemetry.io category:            OpenTelemetry-version:             0.1.0+version:             0.2.0 license-file:        LICENSE license:             Apache-2.0 author:              Dmitry Ivanov