Skip to content

Commit

Permalink
feat: capture docker cgroups info
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte committed Sep 18, 2024
1 parent d70ad70 commit 90f2a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmd/local/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 90f2a45

Please sign in to comment.