From 5b1bbadfa8ea0866fcf8999ac479aae6fec651f8 Mon Sep 17 00:00:00 2001 From: Dusan Stanisavljevic <58050163+dusanstanis@users.noreply.github.com> Date: Fri, 28 Jun 2024 19:09:56 +0400 Subject: [PATCH] expand gpus information resources (#1) --- 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 {