From 245ba6c0c8acc3b948c02f5ecffe771bcb1f200b Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Wed, 28 Aug 2024 21:09:17 +0500 Subject: [PATCH] Update description as network traffic is not bytes/s but bytes per interval --- src/middlewared/middlewared/plugins/apps/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middlewared/middlewared/plugins/apps/stats.py b/src/middlewared/middlewared/plugins/apps/stats.py index 233de6addb675..a9ace450761db 100644 --- a/src/middlewared/middlewared/plugins/apps/stats.py +++ b/src/middlewared/middlewared/plugins/apps/stats.py @@ -33,8 +33,8 @@ class AppStatsEventSource(EventSource): Dict( 'interface_stats', Str('interface_name', description='Name of the interface use by the app'), - Int('rx_bytes', description='Received bytes/s by an interface'), - Int('tx_bytes', description='Transmitted bytes/s by an interface') + Int('rx_bytes', description='Received bytes per interval by an interface'), + Int('tx_bytes', description='Transmitted bytes per interval by an interface') ), ] ),