Skip to content

Commit

Permalink
fix(metric): fix checkpoint size use small buckets (#14809)
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <[email protected]>
  • Loading branch information
Little-Wallace authored Jan 26, 2024
1 parent 57d0b0e commit 51e00fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/storage/src/monitor/monitored_storage_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl MonitoredStorageMetrics {
let opts = histogram_opts!(
"state_store_iter_item",
"Total bytes gotten from state store scan(), for calculating read throughput",
size_buckets
size_buckets.clone(),
);
let iter_item =
register_histogram_vec_with_registry!(opts, &["table_id"], registry).unwrap();
Expand Down Expand Up @@ -189,14 +189,14 @@ impl MonitoredStorageMetrics {
let opts = histogram_opts!(
"state_store_sync_duration",
"Histogram of time spent on compacting shared buffer to remote storage",
time_buckets.clone()
time_buckets,
);
let sync_duration = register_histogram_with_registry!(opts, registry).unwrap();

let opts = histogram_opts!(
"state_store_sync_size",
"Total size of upload to l0 every epoch",
time_buckets
size_buckets,
);
let sync_size = register_histogram_with_registry!(opts, registry).unwrap();

Expand Down

0 comments on commit 51e00fa

Please sign in to comment.