-
Notifications
You must be signed in to change notification settings - Fork 168
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
cAdvisor support #445
Comments
is this is related to #313? |
Yes. cAdvisor can create more detailed statistics for containers, but yes, basically the same. |
I'd like to avoid using third party tools that might be difficult to install in all systems. I mean, I'd prefer using In this aspect, and as I already said in #313, I'm not familiarized with Can you, please, share a list of useful commands that Monitorix can run to get general container statistics? |
Sorry but I don't use podman until now. I wil check it, and figure out these command is working or not. But, maybe this is help for you. The normal The last 2 values (MemPerc and PIDs) works only linux systems. |
As I read it, So, I just ran your command and I got the following:
No stats. Then I checked the processes with containers using
|
Looks podman can not recognize the {{.Container}} variable. - That's true https://docs.podman.io/en/latest/markdown/podman-stats.1.html So here is a difference, in docker and podman. :-) |
Still no stats. Moreover, the command does not return. It keeps refreshing which ruins the chance to get stats. |
For me, the root user can run a |
Oh, and Docker has an API interface, more detailed statistics. In this case you have to know the container ID, but I don't think is a problem monitoring only the given ID's and not all of the containers. Access API information as follows for a JSON stream in every second: But in this case you have a "little" more work: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/building_running_and_managing_containers/assembly_using-the-container-tools-api_building-running-and-managing-containers |
cAdvisor as datasource. That will be a big help of monitoring containers in Monitorix.
The text was updated successfully, but these errors were encountered: