Skip to content

New docker Statistics Collector #4

Description

@jhunt

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.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions