Use datapoint instead of print for is_full signal (#12673)
This commit is contained in:
@ -1293,9 +1293,15 @@ impl Blockstore {
|
|||||||
&data_index,
|
&data_index,
|
||||||
);
|
);
|
||||||
if slot_meta.is_full() {
|
if slot_meta.is_full() {
|
||||||
info!(
|
datapoint_info!(
|
||||||
"slot {} is full, last: {}",
|
"shred_insert_is_full",
|
||||||
slot_meta.slot, slot_meta.last_index
|
(
|
||||||
|
"total_time_ms",
|
||||||
|
solana_sdk::timing::timestamp() - slot_meta.first_shred_timestamp,
|
||||||
|
i64
|
||||||
|
),
|
||||||
|
("slot", slot_meta.slot, i64),
|
||||||
|
("last_index", slot_meta.last_index, i64),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
trace!("inserted shred into slot {:?} and index {:?}", slot, index);
|
trace!("inserted shred into slot {:?} and index {:?}", slot, index);
|
||||||
|
Reference in New Issue
Block a user