Skip to content

Commit

Permalink
change metrics bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0k committed Nov 7, 2024
1 parent 0f7d928 commit 579cf6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage/src/monitor/monitored_storage_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ pub fn global_storage_metrics(metric_level: MetricLevel) -> MonitoredStorageMetr

impl MonitoredStorageMetrics {
pub fn new(registry: &Registry, metric_level: MetricLevel) -> Self {
// 256B ~ max 4GB
let size_buckets = exponential_buckets(256.0, 16.0, 7).unwrap();
// 256B ~ max 64GB
let size_buckets = exponential_buckets(256.0, 16.0, 8).unwrap();
// 10ms ~ max 2.7h
let time_buckets = exponential_buckets(0.01, 10.0, 7).unwrap();
// ----- get -----
Expand Down

0 comments on commit 579cf6d

Please sign in to comment.