@@ -614,73 +614,60 @@ var (
614
614
levelMetricsTableTopHeader = `LSM | vtables | value sep | | ingested | amp`
615
615
levelMetricsTable = table .Define [* LevelMetrics ](
616
616
table .AutoIncrement [* LevelMetrics ]("level" , 5 , table .AlignRight ),
617
- table .Bytes ("size" , 11 , table .AlignRight , func (m * LevelMetrics ) uint64 { return uint64 (m .TablesSize ) + m .EstimatedReferencesSize }),
617
+ table .Bytes ("size" , 10 , table .AlignRight , func (m * LevelMetrics ) uint64 { return uint64 (m .TablesSize ) + m .EstimatedReferencesSize }),
618
618
table .Div (),
619
619
table .Count ("tables" , 6 , table .AlignRight , func (m * LevelMetrics ) int64 { return m .TablesCount }),
620
- table.Literal [* LevelMetrics ](" " ),
621
620
table .Bytes ("size" , 5 , table .AlignRight , func (m * LevelMetrics ) int64 { return m .TablesSize }),
622
621
table .Div (),
623
622
table .Count ("count" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .VirtualTablesCount }),
624
- table.Literal [* LevelMetrics ](" " ),
625
623
table .Count ("size" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .VirtualTablesSize }),
626
624
table .Div (),
627
625
table .Bytes ("refsz" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .EstimatedReferencesSize }),
628
- table.Literal [* LevelMetrics ](" " ),
629
626
table .Bytes ("valblk" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .Additional .ValueBlocksSize }),
630
627
table .Div (),
631
628
table .Bytes ("in" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TableBytesIn }),
632
629
table .Div (),
633
630
table .Count ("tables" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TablesIngested }),
634
- table.Literal [* LevelMetrics ](" " ),
635
631
table .Bytes ("size" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TableBytesIngested }),
636
632
table .Div (),
637
633
table .Int ("r" , 3 , table .AlignRight , func (m * LevelMetrics ) int { return int (m .Sublevels ) }),
638
- table.Literal [* LevelMetrics ](" " ),
639
634
table .Float ("w" , 5 , table .AlignRight , func (m * LevelMetrics ) float64 { return m .WriteAmp () }),
640
635
)
641
636
levelCompactionMetricsTableTopHeader = `COMPACTIONS | moved | multilevel | read | written`
642
637
compactionLevelMetricsTable = table .Define [* LevelMetrics ](
643
638
table .AutoIncrement [* LevelMetrics ]("level" , 5 , table .AlignRight ),
644
639
table .Div (),
645
640
table .Float ("score" , 5 , table .AlignRight , func (m * LevelMetrics ) float64 { return m .Score }),
646
- table.Literal [* LevelMetrics ](" " ),
647
641
table .Float ("ff" , 5 , table .AlignRight , func (m * LevelMetrics ) float64 { return m .FillFactor }),
648
- table.Literal [* LevelMetrics ](" " ),
649
642
table .Float ("cff" , 5 , table .AlignRight , func (m * LevelMetrics ) float64 { return m .CompensatedFillFactor }),
650
643
table .Div (),
651
644
table .Count ("tables" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TablesMoved }),
652
- table.Literal [* LevelMetrics ](" " ),
653
645
table .Bytes ("size" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TableBytesMoved }),
654
646
table .Div (),
655
647
table .Bytes ("top" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .MultiLevel .TableBytesInTop }),
656
- table.Literal [* LevelMetrics ](" " ),
657
648
table .Bytes ("in" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .MultiLevel .TableBytesIn }),
658
- table.Literal [* LevelMetrics ](" " ),
659
649
table .Bytes ("read" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .MultiLevel .TableBytesRead }),
660
650
table .Div (),
661
651
table .Bytes ("tables" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TableBytesRead }),
662
- table.Literal [* LevelMetrics ](" " ),
663
652
table .Bytes ("blob" , 5 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .BlobBytesRead }),
664
653
table .Div (),
665
654
table .Count ("tables" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TablesFlushed + m .TablesCompacted }),
666
- table.Literal [* LevelMetrics ](" " ),
667
655
table .Bytes ("sstsz" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .TableBytesFlushed + m .TableBytesCompacted }),
668
- table.Literal [* LevelMetrics ](" " ),
669
656
table .Bytes ("blobsz" , 6 , table .AlignRight , func (m * LevelMetrics ) uint64 { return m .BlobBytesFlushed + m .BlobBytesCompacted }),
670
657
)
671
658
compactionKindTable = table .Define [compactionKindsInfo ](
672
659
table .String ("kind" , 6 , table .AlignRight , func (i compactionKindsInfo ) string { return "count" }),
673
660
table .Div (),
674
661
table .String ("default" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .def }),
675
- table .String ("delete" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .delete }),
676
- table .String ("elision" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .elision }),
677
- table .String ("copy" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .copy }),
678
- table .String ("move" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .move }),
679
- table .String ("read" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .read }),
680
- table .String ("tomb" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .tombstone }),
681
- table .String ("rewrite" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .rewrite }),
682
- table .String ("multi" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .multilevel }),
683
- table .String ("blob" , 9 , table .AlignRight , func (i compactionKindsInfo ) string { return i .blob }),
662
+ table .String ("delete" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .delete }),
663
+ table .String ("elision" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .elision }),
664
+ table .String ("copy" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .copy }),
665
+ table .String ("move" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .move }),
666
+ table .String ("read" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .read }),
667
+ table .String ("tomb" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .tombstone }),
668
+ table .String ("rewrite" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .rewrite }),
669
+ table .String ("multi" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .multilevel }),
670
+ table .String ("blob" , 8 , table .AlignRight , func (i compactionKindsInfo ) string { return i .blob }),
684
671
)
685
672
commitPipelineInfoTableTopHeader = `COMMIT PIPELINE`
686
673
commitPipelineInfoTableSubHeader = ` wals | memtables | ingestions`
0 commit comments