@@ -170,9 +170,9 @@ static HEADER: [&str; NUM_COLUMNS] = [
170170 columns:: BYTES_IN ,
171171 columns:: EVENTS_OUT ,
172172 columns:: BYTES_OUT ,
173- columns:: ERRORS ,
174173 #[ cfg( feature = "allocation-tracing" ) ]
175174 columns:: MEMORY_USED ,
175+ columns:: ERRORS ,
176176] ;
177177
178178struct Widgets < ' a > {
@@ -348,13 +348,13 @@ impl<'a> Widgets<'a> {
348348 r. sent_bytes_throughput_sec ,
349349 self . human_metrics ,
350350 ) ,
351+ #[ cfg( feature = "allocation-tracing" ) ]
352+ r. allocated_bytes . human_format_bytes ( ) ,
351353 if self . human_metrics {
352354 r. errors . human_format ( )
353355 } else {
354356 r. errors . thousands_format ( )
355357 } ,
356- #[ cfg( feature = "allocation-tracing" ) ]
357- r. allocated_bytes . human_format_bytes ( ) ,
358358 ] ;
359359
360360 data. extend_from_slice ( & formatted_metrics) ;
@@ -383,26 +383,26 @@ impl<'a> Widgets<'a> {
383383 & [
384384 Constraint :: Percentage ( 13 ) , // ID
385385 Constraint :: Percentage ( 8 ) , // Output
386- Constraint :: Percentage ( 4 ) , // Kind
386+ Constraint :: Percentage ( 5 ) , // Kind
387387 Constraint :: Percentage ( 9 ) , // Type
388388 Constraint :: Percentage ( 10 ) , // Events In
389389 Constraint :: Percentage ( 12 ) , // Bytes In
390390 Constraint :: Percentage ( 10 ) , // Events Out
391391 Constraint :: Percentage ( 12 ) , // Bytes Out
392- Constraint :: Percentage ( 8 ) , // Errors
393- Constraint :: Percentage ( 14 ) , // Allocated Bytes
392+ Constraint :: Percentage ( 14 ) , // Memory Used
393+ Constraint :: Percentage ( 7 ) , // Errors
394394 ]
395395 } else {
396396 & [
397397 Constraint :: Percentage ( 13 ) , // ID
398398 Constraint :: Percentage ( 12 ) , // Output
399- Constraint :: Percentage ( 9 ) , // Kind
399+ Constraint :: Percentage ( 10 ) , // Kind
400400 Constraint :: Percentage ( 6 ) , // Type
401401 Constraint :: Percentage ( 12 ) , // Events In
402402 Constraint :: Percentage ( 14 ) , // Bytes In
403403 Constraint :: Percentage ( 12 ) , // Events Out
404404 Constraint :: Percentage ( 14 ) , // Bytes Out
405- Constraint :: Percentage ( 8 ) , // Errors
405+ Constraint :: Percentage ( 7 ) , // Errors
406406 ]
407407 } ;
408408 let w = Table :: new ( items, widths)
0 commit comments