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

pip glances export does't have docker resource #2660

Open
lkzhang98 opened this issue Jan 16, 2024 · 2 comments
Open

pip glances export does't have docker resource #2660

lkzhang98 opened this issue Jan 16, 2024 · 2 comments

Comments

@lkzhang98
Copy link

Describe the bug
When I use glances installed with pip, there is no docker resource usage in the exported csv file.

I can see docker resources in the command line, but not in the exported file. os:Ubuntu20.04, glances:3.4.0.3

@nicolargo
Copy link
Owner

What is the command line ?

Be aware that 'dockers' plugin has been renamed to 'containers' in Glances 3.4.

Export work on my side:

glances -C ./conf/glances.conf --stdout-csv containers
containers.sad_darwin.key,containers.sad_darwin.name,containers.sad_darwin.Id,containers.sad_darwin.Image,containers.sad_darwin.Status,containers.sad_darwin.Created,containers.sad_darwin.Command,containers.sad_darwin.cpu_percent,containers.sad_darwin.memory_usage,containers.sad_darwin.io_r,containers.sad_darwin.io_w,containers.sad_darwin.network_rx,containers.sad_darwin.network_tx,containers.sad_darwin.Uptime,containers.sad_darwin.pod_name,containers.sad_darwin.pod_id,containers.sad_darwin.engine,containers.8d0f1c783def-infra.key,containers.8d0f1c783def-infra.name,containers.8d0f1c783def-infra.Id,containers.8d0f1c783def-infra.Image,containers.8d0f1c783def-infra.Status,containers.8d0f1c783def-infra.Created,containers.8d0f1c783def-infra.Command,containers.8d0f1c783def-infra.cpu_percent,containers.8d0f1c783def-infra.memory_usage,containers.8d0f1c783def-infra.io_r,containers.8d0f1c783def-infra.io_w,containers.8d0f1c783def-infra.network_rx,containers.8d0f1c783def-infra.network_tx,containers.8d0f1c783def-infra.Uptime,containers.8d0f1c783def-infra.pod_name,containers.8d0f1c783def-infra.pod_id,containers.8d0f1c783def-infra.engine,containers.portainer.key,containers.portainer.name,containers.portainer.Id,containers.portainer.Status,containers.portainer.Created,containers.portainer.Command,containers.portainer.Image,containers.portainer.cpu_percent,containers.portainer.memory_usage,containers.portainer.io_r,containers.portainer.io_w,containers.portainer.network_rx,containers.portainer.network_tx,containers.portainer.Uptime,containers.portainer.engine
name,portainer,3abd51c615968482d9ccff5afc629f267f6dda113ed68b75b432615fae3b49fb,running,2022-10-29T14:59:10.266701439Z,['/portainer'],['portainer/portainer-ce:2.9.3'],0.07447236180904523,14487552,None,None,None,None,1 months,docker,name,sad_darwin,481d6ffb7eef284d062628cf350bdd9ce0a803db8a2a505d75565ed24322b714,['docker.io/library/ubuntu:latest'],running,2023-12-09T10:45:34.339489876+01:00,['top'],2.0731636112983417e-06,1236992.0,0.0,0.0,0.0,0.0,1 months,sad_darwin,8d0f1c783def,podman,name,8d0f1c783def-infra,9491515251edcd5bb5dc17205d7ee573c0be96fe0b08b0a12a7e2cea874565ea,['k8s.gcr.io/pause:3.5'],running,2022-10-22T14:23:03.120912374+02:00,[],3.4800061727710264e-10,241664.0,0.0,0.0,0.0,0.0,1 months,8d0f1c783def-infra,8d0f1c783def,podman
...

@RazCrimson
Copy link
Collaborator

@lkzhang98 Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants