Skip to content

Commit

Permalink
feat: capture docker cgroups info (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte authored Sep 19, 2024
1 parent 9b84233 commit 4de1dca
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 4de1dca

Please sign in to comment.