mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-30 15:36:59 +00:00
chore: better buckets for heartbeat stat size histogram (#5945)
chore: better buckets for METRIC_META_HEARTBEAT_STAT_MEMORY_SIZE
This commit is contained in:
@@ -62,7 +62,9 @@ lazy_static! {
|
||||
register_int_counter!("greptime_meta_region_migration_fail", "meta region migration fail").unwrap();
|
||||
// The heartbeat stat memory size histogram.
|
||||
pub static ref METRIC_META_HEARTBEAT_STAT_MEMORY_SIZE: Histogram =
|
||||
register_histogram!("greptime_meta_heartbeat_stat_memory_size", "meta heartbeat stat memory size").unwrap();
|
||||
register_histogram!("greptime_meta_heartbeat_stat_memory_size", "meta heartbeat stat memory size", vec![
|
||||
100.0, 500.0, 1000.0, 1500.0, 2000.0, 3000.0, 5000.0, 10000.0, 20000.0
|
||||
]).unwrap();
|
||||
// The heartbeat rate counter.
|
||||
pub static ref METRIC_META_HEARTBEAT_RATE: IntCounter =
|
||||
register_int_counter!("greptime_meta_heartbeat_rate", "meta heartbeat arrival rate").unwrap();
|
||||
|
||||
Reference in New Issue
Block a user