Skip to content

Commit

Permalink
strictify histCountsPerBucket
Browse files Browse the repository at this point in the history
  • Loading branch information
srhb committed Mar 31, 2020
1 parent 56e33f2 commit 23e3704
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 23e3704

Please sign in to comment.