Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New docker Statistics Collector #4

Open
jhunt opened this issue Oct 21, 2019 · 0 comments
Open

New docker Statistics Collector #4

jhunt opened this issue Oct 21, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jhunt
Copy link
Member

jhunt commented Oct 21, 2019

I would like to see a new collector for Docker, that connects to the docker socket (usually this will be bind-mounted into the container from the host) and collects information about all of the containers that are running.

Here's some example requests:

curl http://localhost:9098/containers/json | jq -r . | less
curl http://localhost:9098/containers/$CONTAINER/stats?stream=false | jq -r . | less

See https://docs.docker.com/engine/api/#31-containers for more details on the API.

@jhunt jhunt added the enhancement New feature or request label Oct 21, 2019
@jhunt jhunt self-assigned this Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant