mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-04 00:27:39 +00:00 
			
		
		
		
	add detailed metrics in slow operations
This commit is contained in:
		
							parent
							
								
									daba22ed56
								
							
						
					
					
						commit
						737dd3c44f
					
				@ -552,7 +552,7 @@ impl LogSyncManager {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            metrics::STORE_PUT_TX_SPEED_IN_BYTES
 | 
					            metrics::STORE_PUT_TX_SPEED_IN_BYTES
 | 
				
			||||||
                .update((tx.size / start_time.elapsed().as_millis() as u64) as usize);
 | 
					                .update((tx.size * 1000 / start_time.elapsed().as_micros() 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