* add "Total size" of Partition within Topic's statistics #2536 * Used Bytes Formatted on total size of Partition within Topic's #2536 Co-authored-by: davitbejanyan <dbejanyan@provectus.com> Co-authored-by: Oleg Shur <workshur@gmail.com>
This commit is contained in:
parent
9632ffdbdb
commit
c961344824
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,6 @@ const PartitionInfoRow: React.FC<{ row: Row<TopicAnalysisStats> }> = ({
|
|||
keySize,
|
||||
valueSize,
|
||||
} = row.original;
|
||||
|
||||
return (
|
||||
<S.PartitionInfo>
|
||||
<div>
|
||||
|
@ -35,6 +34,8 @@ const PartitionInfoRow: React.FC<{ row: Row<TopicAnalysisStats> }> = ({
|
|||
<List>
|
||||
<Label>Total message</Label>
|
||||
<span>{totalMsgs}</span>
|
||||
<Label>Total size</Label>
|
||||
<BytesFormatted value={(keySize?.sum || 0) + (valueSize?.sum || 0)} />
|
||||
<Label>Min. timestamp</Label>
|
||||
<span>{formatTimestamp(minTimestamp)}</span>
|
||||
<Label>Max. timestamp</Label>
|
||||
|
|
Loading…
Add table
Reference in a new issue