From 35306a75024913ddfb46a0cb7affff11e83efbb7 Mon Sep 17 00:00:00 2001 From: Omar Abdulaziz Date: Sun, 12 Jan 2025 17:11:04 +0200 Subject: [PATCH] add openconnection to statistics response --- grid-proxy/pkg/types/stats.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/grid-proxy/pkg/types/stats.go b/grid-proxy/pkg/types/stats.go index b7a08d676..d69da1241 100644 --- a/grid-proxy/pkg/types/stats.go +++ b/grid-proxy/pkg/types/stats.go @@ -43,10 +43,11 @@ type NodeStatisticsUsers struct { // NodeStatistics node statistics info type NodeStatistics struct { - System NodeStatisticsResources `json:"system"` - Total NodeStatisticsResources `json:"total"` - Used NodeStatisticsResources `json:"used"` - Users NodeStatisticsUsers `json:"users"` + System NodeStatisticsResources `json:"system"` + Total NodeStatisticsResources `json:"total"` + Used NodeStatisticsResources `json:"used"` + Users NodeStatisticsUsers `json:"users"` + OpenConnecions uint `json:"open_connections"` } // NodeStatus is used for status endpoint to decode json in