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

net i/o allways 0 #305

Open
allaboutstrategy opened this issue Nov 9, 2024 · 3 comments
Open

net i/o allways 0 #305

allaboutstrategy opened this issue Nov 9, 2024 · 3 comments

Comments

@allaboutstrategy
Copy link

allaboutstrategy commented Nov 9, 2024

.Describe the bug
A clear and concise description of what the bug is.

I do not see Net I/O bytes.
Its allways 0

TYPE podman_container_net_output_total counter

podman_container_net_output_total{id="0596265cb9ce",pod_id="b7c5e122e0c1",pod_name="pod_podman-grafana"} 0
podman_container_net_output_total{id="06c1d34f7d5a",pod_id="160a48fc7cb3",pod_name="pod_stats4bets-test-v3"} 0
podman_container_net_output_total{id="4811c29257ed",pod_id="b7c5e122e0c1",pod_name="pod_podman-grafana"} 0
podman_container_net_output_total{id="5178906d33b8",pod_id="b7c5e122e0c1",pod_name="pod_podman-grafana"} 0
podman_container_net_output_total{id="551c928786bd",pod_id="160a48fc7cb3",pod_name="pod_stats4bets-test-v3"} 0
podman_container_net_output_total{id="a084dfc1dae6",pod_id="160a48fc7cb3",pod_name="pod_stats4bets-test-v3"} 0
podman_container_net_output_total{id="d7f668594a26",pod_id="b7c5e122e0c1",pod_name="pod_podman-grafana"} 0

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

I hope to see a total in out of the bytes

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Linux Mint22
  • Podman Version [e.g. 4.9.3]

Additional context
its only for the podman image not for the binary building.

@allaboutstrategy
Copy link
Author

command:
- "/bin/podman_exporter" # Ensure the full path is correct
- "--collector.network" # Add any other required flags here

I am using.

it also say I think it collects it in the logs

�ts=2024-11-09T13:40:32.013Z caller=exporter.go:68 level=info msg="Starting podman-prometheus-exporter" version="(version=1.13.3, branch=HEAD, revision=1)"
ts=2024-11-09T13:40:32.013Z caller=exporter.go:69 level=info msg=metrics enhanced=false
ts=2024-11-09T13:40:32.013Z caller=handler.go:94 level=info msg="enabled collectors"
ts=2024-11-09T13:40:32.013Z caller=handler.go:105 level=info collector=container
ts=2024-11-09T13:40:32.013Z caller=handler.go:105 level=info collector=network
ts=2024-11-09T13:40:32.186Z caller=exporter.go:96 level=info msg="Listening on" address=:9882
ts=2024-11-09T13:40:32.187Z caller=tls_config.go:313 level=info msg="Listening on" address=[::]:9882
ts=2024-11-09T13:40:32.187Z caller=tls_config.go:316 level=info msg="TLS is disabled." http2=false address=[::]:9882

@navidys
Copy link
Collaborator

navidys commented Nov 9, 2024

Hi @allaboutstrategy

What is the podman version ?
Are they rootless containers ?

Copy link

A friendly reminder that this issue had no activity for 30 days.

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

2 participants