Skip to content

Possibility of adding container status #41

@kimattree

Description

@kimattree

Would it be possible to add the parsing of the container state - this would allow Grafana or any other product to monitor and alert on container state, i.e. from the docker api container info:

{
"Id": "cc27e6521330bd239bf41c2fa049d920360a62bbf6696d6a214e1d1d4585c515",
"Created": "2017-08-04T08:52:16.259919991Z",
"Path": "/entrypoint.sh",
"Args": ["/run.sh", "/gateway-1.5-SNAPSHOT.jar"],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 58102,
"ExitCode": 0,
"Error": "",
"StartedAt": "2017-08-04T08:52:17.813347421Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},

Would be nice to see State.Status and State.Dead values per container in the stats stream.

Thanks,

Kim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions