Skip to content

Commit

Permalink
Merge pull request #1307 from threefoldtech/development_update_stats
Browse files Browse the repository at this point in the history
add openconnection to statistics response
  • Loading branch information
Omarabdul3ziz authored Jan 15, 2025
2 parents 68b2b8d + 35306a7 commit ed3ca68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions grid-proxy/pkg/types/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed3ca68

Please sign in to comment.