-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Docker input: add container state metrics #767
Comments
This would also make it possible to get display better charts for setups that don't cleanup dead containers so often. |
Hi, I don’t think the issue should be closed. The merged commit only adds global container state metrics (see https://github.com/influxdata/telegraf/pull/1791/files#diff-691fdaed73e36497110e1ea47c1498f5R157), while the issue was about per-container metrics. |
Hi,I'd like to know if per container state metrics is supported now by any chance or if there's any plan to support it ? |
I've attempted to implement this in the following pull request #4259 . I hope this helps! |
Delivered in #4259 |
Would be nice to have state metrics for each container, as exemplified by this JSON:
This information is available through
docker inspect <container>
(and I imagine through the API as well).For the record, here's an abomination I'm using right now:
The text was updated successfully, but these errors were encountered: