packages feed

network-metrics 0.3.1 → 0.3.2

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

network-metrics.cabal view
@@ -1,5 +1,5 @@ name:               network-metrics-version:            0.3.1+version:            0.3.2 synopsis:           Send metrics to Ganglia, Graphite, and statsd. license:            OtherLicense license-file:       LICENSE
src/Network/Metric/Sink/Graphite.hs view
@@ -34,7 +34,7 @@ instance Sink Graphite where     push (Graphite host hd) m = do         time <- getPOSIXTime-        mapM_ (hPush hd . flat . enc time) (measure m)+        mapM_ (hPush hd . (`BL.append` "\n") . flat . enc time) (measure m)       where         flat s = BL.fromChunks [BS.intercalate " " $ BL.toChunks s]         enc t (Counter g b v) = put host g b v t