@let statistics = dashboardStatistics | async; @if (!statistics) {
@for (_ of [].constructor(4); track $index) { }
} @else { @let settings = settings$ | async; @if (settings) {

Total time: {{ statistics.total_time | time }}

@if (showAnyStatisticsColumn(settings) && showStatisticsRowsAndCharts(settings)) { @if (settings.showTotalPackets) { } @if (settings.showPacketsPerSec) { } @if (settings.showTotalBytes) { } @if (settings.showBytesPerSec) { } @if (settings.showETH) { @let protocolEth = getETHStatistics(statistics.protocols); @if (settings.showTotalPackets) { } @if (settings.showPacketsPerSec) { } @if (settings.showTotalBytes) { } @if (settings.showBytesPerSec) { } }
Total packetsPackets per secondTotal bytesBytes per second
{{ protocolEth.name }}{{ protocolEth.total_packets | decimal }} {{ getPerSecond(protocolEth.total_packets, statistics.total_time) | decimal }} {{ protocolEth.total_bytes | decimal }} {{ getPerSecond(protocolEth.total_bytes, statistics.total_time) | decimal }}
@for (protocol of getProtocols(statistics.protocols); track protocol.name) { @if(settings.protocols[protocol.name]) { @if (settings.showTotalPackets) { } @if (settings.showPacketsPerSec) { } @if (settings.showTotalBytes) { } @if (settings.showBytesPerSec) { } } }
{{ protocol.name }}{{ protocol.total_packets | decimal }} {{ getPerSecond(protocol.total_packets, statistics.total_time) | decimal }} {{ protocol.total_bytes | decimal }} {{ getPerSecond(protocol.total_bytes, statistics.total_time) | decimal }}
} @if (showInformationRate(settings!)) { @if (settings.showMinValue) { } @if (settings.showMaxValue) { } @if (settings.showCurrentValue) { } @if (settings.showMinValue) { } @if (settings.showMaxValue) { } @if (settings.showCurrentValue) { }
MinMaxCurrent
Information Rate{{ statistics.information_rate.min | decimal }}{{ statistics.information_rate.max | decimal }}{{ statistics.information_rate.current | decimal }}
}
} }