Skip to content

Commit 5bfa50a

Browse files
authored
Show network usage stats in the execution page (#9523)
1 parent 462d5ef commit 5bfa50a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/invocation/invocation_action_card.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,14 @@ export default class InvocationActionCardComponent extends React.Component<Props
870870
<div>Disk write operations: {format.count(usageStats.cgroupIoStats.wios)}</div>
871871
</>
872872
)}
873+
{usageStats.networkStats && (
874+
<>
875+
<div>Network bytes received: {format.bytes(usageStats.networkStats.bytesReceived)}</div>
876+
<div>Network packets received: {format.count(usageStats.networkStats.packetsReceived)}</div>
877+
<div>Network bytes sent: {format.bytes(usageStats.networkStats.bytesSent)}</div>
878+
<div>Network packets sent: {format.count(usageStats.networkStats.packetsSent)}</div>
879+
</>
880+
)}
873881
</div>
874882
{usageStats.cpuPressure && this.renderPSI("CPU", usageStats.cpuPressure)}
875883
{usageStats.memoryPressure && this.renderPSI("Memory", usageStats.memoryPressure)}

0 commit comments

Comments
 (0)