From d44ab349b95ec1b8cec9a99e405935e7de9cae14 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 12 Jan 2026 14:11:19 -0800 Subject: [PATCH] feat: adds network usage for each container (#4340) --- assets/components.d.ts | 2 ++ .../LogViewer/MultiContainerStat.vue | 24 +++++++++++-- assets/components/LogViewer/StatMonitor.vue | 2 +- assets/components/MetricCard.vue | 4 +-- assets/models/Container.ts | 4 ++- assets/types/Container.d.ts | 2 ++ internal/agent/pb/types.pb.go | 36 ++++++++++++++----- internal/agent/server.go | 10 +++--- internal/container/types.go | 10 +++--- internal/docker/client.go | 17 ++++++--- internal/k8s/client.go | 3 +- internal/k8s/stats_collector.go | 8 +++-- protos/types.proto | 2 ++ 13 files changed, 92 insertions(+), 32 deletions(-) diff --git a/assets/components.d.ts b/assets/components.d.ts index e27acc34..56df8b23 100644 --- a/assets/components.d.ts +++ b/assets/components.d.ts @@ -122,6 +122,8 @@ declare module 'vue' { 'Ph:globeSimple': typeof import('~icons/ph/globe-simple')['default'] 'Ph:stack': typeof import('~icons/ph/stack')['default'] 'Ph:stackSimple': typeof import('~icons/ph/stack-simple')['default'] + PhArrowDown: typeof import('~icons/ph/arrow-down')['default'] + PhArrowUp: typeof import('~icons/ph/arrow-up')['default'] Popup: typeof import('./components/Popup.vue')['default'] RandomColorTag: typeof import('./components/LogViewer/RandomColorTag.vue')['default'] RelativeTime: typeof import('./components/common/RelativeTime.vue')['default'] diff --git a/assets/components/LogViewer/MultiContainerStat.vue b/assets/components/LogViewer/MultiContainerStat.vue index 7519d016..ce74edc5 100644 --- a/assets/components/LogViewer/MultiContainerStat.vue +++ b/assets/components/LogViewer/MultiContainerStat.vue @@ -1,5 +1,11 @@