docker_stats_exporter
docker_stats_exporter copied to clipboard
Fea/specify container to be collected
Add option to filter containers by 'name' attribute that will get stats collected.
Hi @bugre
Thank you for the PR, but I think I'm going to archive this repo as it's gotten quite out of date. Feel free to fork it if it fits your needs.
Thanks.
Hi @wywywywy , not a problem. I've already forked and made the changes locally, but thought of sharing if it could help someone. Thanks for letting me know. If you don't mind asking, is there a better way of getting the docker stats of a container into prometheus as of today? (not in a k8s or swarm or other orchestration environment, but running a few containers manually? (aside from use/try directly the cgroups metrics)
If you don't mind asking, is there a better way of getting the docker stats of a container into prometheus as of today? (not in a k8s or swarm or other orchestration environment, but running a few containers manually? (aside from use/try directly the cgroups metrics)
I had a look a while ago, and to be honest I didn't find any lightweight exporter similar to this one unfortunately. :(
So this is still useful if someone takes the time to maintain it properly.