Skip to content

Use Podman API for container stats - #268

Open
techulus-agent wants to merge 2 commits into
mainfrom
feat/podman-stats-api
Open

Use Podman API for container stats#268
techulus-agent wants to merge 2 commits into
mainfrom
feat/podman-stats-api

Conversation

@techulus-agent

Copy link
Copy Markdown
Collaborator

Summary

  • replace podman stats CLI formatting and human-readable parsing with the versioned Libpod stats API over the rootful Unix socket
  • preserve CPU baseline and failure behavior while supporting Podman 4 aggregate and Podman 5 per-interface network stats
  • enable and validate podman.socket in agent installation and document the manual setup requirement

Verification

  • go test ./internal/container
  • all agent packages except internal/registryauth
  • go vet ./internal/container
  • CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /tmp/techulus-agent-linux-amd64 ./cmd/agent
  • CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o /tmp/techulus-agent-linux-arm64 ./cmd/agent
  • bash -n web/public/setup.sh
  • git diff --check

Known unrelated failure

go test ./... remains red because internal/registryauth test TestManagerInstallDirtyAndPermissions fails on current main behavior and reproduces when run alone. This PR does not modify that package.

@mintlify

mintlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
techulus-cloud 🟢 Ready View Preview Aug 3, 2026, 2:35 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant