Skip to content

Commit

Permalink
Merge pull request #54 from srhb/strictify-histcountsperbucket
Browse files Browse the repository at this point in the history
strictify histCountsPerBucket
  • Loading branch information
fimad authored May 28, 2020
2 parents 56e33f2 + 23e3704 commit 6f0f5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus-client/src/Prometheus/Metric/Histogram.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ data BucketCounts = BucketCounts {
-- | Counts for each bucket. The key is the upper-bound,
-- value is the number of observations less-than-or-equal-to
-- that upper bound, but greater than the next lowest upper bound.
, histCountsPerBucket :: Map.Map Bucket Int
, histCountsPerBucket :: !(Map.Map Bucket Int)
} deriving (Show, Eq, Ord)

emptyCounts :: [Bucket] -> BucketCounts
Expand Down

0 comments on commit 6f0f5a2

Please sign in to comment.