diff --git a/src/components/standalone/monitoring/InstantTrafficMonitor.vue b/src/components/standalone/monitoring/InstantTrafficMonitor.vue new file mode 100644 index 000000000..adcd8dac4 --- /dev/null +++ b/src/components/standalone/monitoring/InstantTrafficMonitor.vue @@ -0,0 +1,33 @@ + + + diff --git a/src/components/standalone/monitoring/TrafficMonitor.vue b/src/components/standalone/monitoring/TrafficMonitor.vue index 43ab27a1a..7d5a4ec74 100644 --- a/src/components/standalone/monitoring/TrafficMonitor.vue +++ b/src/components/standalone/monitoring/TrafficMonitor.vue @@ -7,12 +7,8 @@ import { useI18n } from 'vue-i18n' import { useTrafficSummary } from '@/composables/useTrafficSummary' import { NeCard, NeEmptyState, NeHeading, byteFormat1024 } from '@nethesis/vue-components' -import InstantHostTrafficCard from '@/components/standalone/monitoring/traffic/InstantHostTrafficCard.vue' import TrafficByHourChart from './TrafficByHourChart.vue' import SimpleStat from '../../charts/SimpleStat.vue' -import { useTopTalkers } from '@/composables/useTopTalkers' -import InstantAppTrafficCard from './traffic/InstantAppTrafficCard.vue' -import InstantProtocolTrafficCard from './traffic/InstantProtocolTrafficCard.vue' import BasicPieChart from '@/components/charts/BasicPieChart.vue' const { t } = useI18n() @@ -33,15 +29,6 @@ const { trafficSummaryError, trafficSummaryErrorDescription } = useTrafficSummary() - -const { - topApps, - topHosts, - topProtocols, - loadingTopTalkers, - errorTopTalkers, - errorTopTalkersDescription -} = useTopTalkers(20) diff --git a/src/components/standalone/monitoring/traffic/InstantAppTrafficCard.vue b/src/components/standalone/monitoring/traffic/InstantAppTrafficCard.vue index 956e5efd1..f1040d567 100644 --- a/src/components/standalone/monitoring/traffic/InstantAppTrafficCard.vue +++ b/src/components/standalone/monitoring/traffic/InstantAppTrafficCard.vue @@ -5,33 +5,43 @@