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

Possibility of adding container status #41

Open
kimattree opened this issue Aug 16, 2017 · 0 comments
Open

Possibility of adding container status #41

kimattree opened this issue Aug 16, 2017 · 0 comments

Comments

@kimattree
Copy link

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

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

No branches or pull requests

1 participant