ekg-rrd 0.2.0.14 → 0.2.1.65
raw patch · 2 files changed
+8/−3 lines, 2 filesdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: text
API changes (from Hackage documentation)
+ System.Metrics.RRDTool: nullMonitor :: MonitorThread
Files
- ekg-rrd.cabal +3/−3
- src/System/Metrics/RRDTool.hs +5/−0
ekg-rrd.cabal view
@@ -1,5 +1,5 @@ name: ekg-rrd-version: 0.2.0.14+version: 0.2.1.65 synopsis: Passes ekg statistics to rrdtool description: Simple API for passing ekg monitoring statistics to a round-robin database (RRD) using rrdtool. homepage: https://bitbucket.org/davecturner/ekg-rrd@@ -16,7 +16,7 @@ exposed-modules: System.Metrics.RRDTool , System.Metrics.RRDTool.Internals build-depends: base >=4.7 && <4.8- , text == 1.2.*+ , text >= 1.1 , unordered-containers == 0.2.* , process == 1.2.* , ekg-core == 0.1.*@@ -52,5 +52,5 @@ source-repository this type: hg location: https://bitbucket.org/davecturner/ekg-rrd- tag: 7b9d021c5a43e4a7ef8b42505a30dd971c9b93f9+ tag: f75f521cc764bc2079f5c67a112345bf7a8a2b0d
src/System/Metrics/RRDTool.hs view
@@ -26,6 +26,7 @@ , MonitorThread , runMonitor , killMonitor+ , nullMonitor ) where import Control.Concurrent@@ -102,3 +103,7 @@ case updateRRDArgs rrd sample now of Nothing -> return () Just args -> handle ignoreIOException $ runTool rrd args++{- | A do-nothing MonitorThread, for use if monitoring is disabled. -}+nullMonitor :: MonitorThread+nullMonitor = MonitorThread $ return ()