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

cadvisor 0.26.1 /metrics is work,but network data does not exist #1690

Open
pangzheng opened this issue Jun 27, 2017 · 4 comments
Open

cadvisor 0.26.1 /metrics is work,but network data does not exist #1690

pangzheng opened this issue Jun 27, 2017 · 4 comments
Labels

Comments

@pangzheng
Copy link

We use the rate (container_network_transmit_packets_total {id =" / "} statistics host network, but this data does not exist
But 0.25.0 data is normal

I also found that cadvisor page statistics memory data is also abnormal.

@pangzheng
Copy link
Author

docker run

        docker run -d \
                --privileged=true \
                --log-driver=journald \
                --name $CONTAINER_NAME --net host --restart always \
                -v /:/rootfs:ro \
                -v /var/run:/var/run:rw \
                -v /sys:/sys:ro \
                -v /data/docker/:/var/lib/docker:ro \
                $CADVISOR_IMAGE \
                -logtostderr \
                --listen_ip=$LOCAL_IP \
                --port=5014

@pangzheng
Copy link
Author

Docker Image: google/cadvisor:v0.26.1

@goettl79
Copy link

goettl79 commented Jul 7, 2017

If I'm right, the cadvisor bugfix version 0.26.1 release and branch do not include the commit "8aed6e9", which contained the prometheus metrics. Might be a release / merge bug. Building and running the binary from the current master works. A rerelease / cherry pick to the branch 0.26.1 is necessary.

@matthiasr
Copy link

No, 8aed6e9 introduces a different set of metrics. I suspect this issue is another instance of #1704.

@dashpole dashpole self-assigned this Aug 25, 2017
@dashpole dashpole removed their assignment Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants