From 3f50e2e25084dcc60c1389e69d28e1d95bcfa851 Mon Sep 17 00:00:00 2001 From: dusanstanis Date: Fri, 28 Jun 2024 19:09:10 +0400 Subject: [PATCH] expand gpus information resources --- go/inventory/v1/metrics.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/go/inventory/v1/metrics.go b/go/inventory/v1/metrics.go index 39f9854f..1a2da149 100644 --- a/go/inventory/v1/metrics.go +++ b/go/inventory/v1/metrics.go @@ -7,10 +7,11 @@ import ( ) type ResourcesMetric struct { - CPU uint64 `json:"cpu"` - GPU uint64 `json:"gpu"` - Memory uint64 `json:"memory"` - StorageEphemeral uint64 `json:"storage_ephemeral"` + CPU uint64 `json:"cpu"` + GPU uint64 `json:"gpu"` + GPU_infos GPUInfoS `json:"gpu_infos"` + Memory uint64 `json:"memory"` + StorageEphemeral uint64 `json:"storage_ephemeral"` } type NodeMetrics struct {