diff --git a/src/app/item-detail/item-detail.component.html b/src/app/item-detail/item-detail.component.html index 2fe4d08c..6b0b6742 100644 --- a/src/app/item-detail/item-detail.component.html +++ b/src/app/item-detail/item-detail.component.html @@ -160,10 +160,10 @@

+
-

{{convertBytesToMbps(itemData.overview.bytesPerSecond)}} {{convertBytesToMbps(itemData.overview.bytesPerSecond + itemData.overview.bytesSentPerSecond)}} Mbps

@@ -387,7 +387,7 @@
Request Statistics {{_.throughput || "n/a"}} {{_.throughputDiff}} - {{convertBytesToMbps(_.bytes * _.throughput) || "n/a"}} {{convertBytesToMbps(_.bytesPerSecond + _.bytesSentPerSecond) || "n/a"}} {{_.bytesDiff}} {{_.errorRate}} % { + if (overAllNetworkV2) { + const networkMbps = overAllNetworkV2.data.map((_) => { return [_[0], bytesToMbps(_[1])]; }); const networkLine = { ...networkLineSettings, data: networkMbps }; @@ -134,8 +134,8 @@ export class ItemDetailComponent implements OnInit { this.chartLines.overall.set('Error rate', errorLine); this.chartLines.overall.set('Throughput', throughputLine); - if (network) { - const networkMbps = network.map((_) => { + if (networkV2) { + const networkMbps = networkV2.map((_) => { _.data = _.data.map(__ => [__[0], bytesToMbps(__[1])]); return _; }); diff --git a/src/app/items.service.model.ts b/src/app/items.service.model.ts index a5adce8e..9a647855 100644 --- a/src/app/items.service.model.ts +++ b/src/app/items.service.model.ts @@ -57,11 +57,15 @@ export interface ItemDataPlot { minResponseTime: LabelSeries[]; maxResponseTime: LabelSeries[]; throughput: LabelSeries[]; - network: LabelSeries[]; + networkV2: LabelSeries[]; + networkUp: LabelSeries[]; + networkDown: LabelSeries[]; percentile90?: LabelSeries[]; percentile95?: LabelSeries[]; percentile99?: LabelSeries[]; - overallNetwork: any; + overAllNetworkV2: any; + overallNetworkUp: any; + overallNetworkDown: any; overallTimeResponse: any; overallThroughput: any; overAllFailRate: any;