Skip to content

Commit

Permalink
Update bucket sized for 'SizeUsed' metric
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-ch committed Oct 9, 2024
1 parent ef13002 commit 5387bc9
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions crates/metrics/src/buckets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,24 +110,26 @@ fn initialize_buckets() -> HashMap<Buckets, Vec<f64>> {
]
),
(
// Consider blocks up to 256kb in size, one bucket per 16kb.
// Consider blocks up to 256kb in size.
Buckets::SizeUsed,
vec![
16.0 * 1024.0,
32.0 * 1024.0,
48.0 * 1024.0,
64.0 * 1024.0,
80.0 * 1024.0,
96.0 * 1024.0,
112.0 * 1024.0,
128.0 * 1024.0,
144.0 * 1024.0,
160.0 * 1024.0,
176.0 * 1024.0,
192.0 * 1024.0,
208.0 * 1024.0,
224.0 * 1024.0,
240.0 * 1024.0,
1.0 * 1024.0,
2.0 * 1024.0,
3.0 * 1024.0,
4.0 * 1024.0,
5.0 * 1024.0,
7.0 * 1024.0,
10.0 * 1024.0,
13.0 * 1024.0,
18.0 * 1024.0,
24.0 * 1024.0,
33.0 * 1024.0,
44.0 * 1024.0,
59.0 * 1024.0,
79.0 * 1024.0,
106.0 * 1024.0,
142.0 * 1024.0,
191.0 * 1024.0,
256.0 * 1024.0,
]
),
Expand Down

0 comments on commit 5387bc9

Please sign in to comment.