From 90f2a45798886bd9d21eb0f081a35e74f9c3298f Mon Sep 17 00:00:00 2001 From: Alex Buchanan Date: Wed, 18 Sep 2024 14:50:18 -0700 Subject: [PATCH] feat: capture docker cgroups info --- internal/cmd/local/check.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/cmd/local/check.go b/internal/cmd/local/check.go index eee7e51..99041ae 100644 --- a/internal/cmd/local/check.go +++ b/internal/cmd/local/check.go @@ -46,6 +46,8 @@ func dockerInstalled(ctx context.Context, telClient telemetry.Client) (docker.Ve if info, err := dockerClient.Client.Info(ctx); err == nil { telClient.Attr("docker_ncpu", fmt.Sprintf("%d", info.NCPU)) telClient.Attr("docker_memtotal", fmt.Sprintf("%d", info.MemTotal)) + telClient.Attr("docker_cgroup_driver", info.CgroupDriver) + telClient.Attr("docker_cgroup_version", info.CgroupVersion) } pterm.Success.Println(fmt.Sprintf("Found Docker installation: version %s", version.Version))