prometheus-client 1.1.1 → 1.1.2
raw patch · 2 files changed
+5/−4 lines, 2 filesdep ~data-sketches
Dependency ranges changed: data-sketches
Files
prometheus-client.cabal view
@@ -1,5 +1,5 @@ name: prometheus-client-version: 1.1.1+version: 1.1.2 synopsis: Haskell client library for http://prometheus.io. description: Haskell client library for http://prometheus.io. homepage: https://github.com/fimad/prometheus-haskell@@ -49,7 +49,7 @@ , utf8-string , exceptions , text- , data-sketches+ , data-sketches >= 0.4 && <0.5 ghc-options: -Wall test-suite doctest@@ -86,7 +86,7 @@ , exceptions , text , primitive- , data-sketches+ , data-sketches >= 0.4 && <0.5 ghc-options: -Wall benchmark bench
src/Prometheus/Metric/Summary.hs view
@@ -69,7 +69,8 @@ summary :: Info -> [Quantile] -> Metric Summary summary info quantiles_ = Metric $ do rs <- mkReqSketch kInt HighRanksAreAccurate- mv <- newMVar $ rs {criterion = (:<=)}+ setCriterionLE rs+ mv <- newMVar rs let summary_ = MkSummary mv quantiles_ return (summary_, collectSummary info summary_) where