packages feed

core-telemetry 0.2.2.0 → 0.2.3.0

raw patch · 2 files changed

+4/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Core.Telemetry.Observability: instance Core.Telemetry.Observability.Telemetry ()

Files

core-telemetry.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           core-telemetry-version:        0.2.2.0+version:        0.2.3.0 synopsis:       Advanced telemetry description:    This is part of a library to help build command-line programs, both tools and                 longer-running daemons.
lib/Core/Telemetry/Observability.hs view
@@ -267,6 +267,9 @@ instance Telemetry String where     metric k v = MetricValue (JsonKey k) (JsonString (intoRope v)) +instance Telemetry () where+    metric k _ = MetricValue (JsonKey k) JsonNull+ {- | The usual warning about assuming the @ByteString@ is ASCII or UTF-8 applies here. Don't use this to send binary mush.