This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/views/charts2/charts/NpmNetworkQuantity.vue

26 lines
1.0 KiB
Vue
Raw Normal View History

2022-07-18 15:04:32 +08:00
<template>
<div class="npm-network-quantity">
<single-value :npm-network-quantity="npmNetworkQuantity"></single-value>
</div>
2022-07-18 15:04:32 +08:00
</template>
<script>
import SingleValue from '@/views/charts2/charts/SingleValue'
2022-07-18 15:04:32 +08:00
export default {
name: 'NpmNetworkQuantity',
components: { SingleValue },
data () {
return {
npmNetworkQuantity: [
{ name: 'networkAppPerformance.tcpConnectionEstablishLatency', value: 6, number: 145, P95: 56, P99: 150, unitType: 'time', trend: 'up' },
{ name: 'networkAppPerformance.httpResponse', value: 6, number: 184, P95: 57, P99: 192, unitType: 'time', trend: 'up' },
{ name: 'networkAppPerformance.sslResponseLatency', value: 2, number: 0.1, P95: 0, P99: 0, unitType: 'time', trend: 'down' },
{ name: 'networkAppPerformance.packetLoss', value: 2, number: 0.0192, P95: 0.0099, P99: 0.0099, unitType: 'percent', trend: 'down' },
{ name: 'overall.packetRetrans', value: 2, number: 0.0386, P95: 0.0299, P99: 0.0416, unitType: 'percent', trend: 'down' }
]
}
}
2022-07-18 15:04:32 +08:00
}
</script>