mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
add detailed metrics for storage layer
This commit is contained in:
parent
f03fdc68e7
commit
9d2303b9b3
@ -549,7 +549,7 @@ impl LogSyncManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
metrics::STORE_PUT_TX_SPEED_IN_BYTES
|
metrics::STORE_PUT_TX_SPEED_IN_BYTES
|
||||||
.update((tx.size / start_time.elapsed().as_secs()) as usize);
|
.update((tx.size / start_time.elapsed().as_millis() as u64) as usize);
|
||||||
metrics::STORE_PUT_TX.update_since(start_time);
|
metrics::STORE_PUT_TX.update_since(start_time);
|
||||||
|
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user