Giter VIP home page Giter VIP logo

acadock-monitoring's People

Contributors

brandon-welsch avatar curzolapierre avatar dependabot[bot] avatar etiennem avatar github-actions[bot] avatar john-scalingo avatar soulou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acadock-monitoring's Issues

Replace the use of `github.com/facebookgo/grace`

github.com/facebookarchive/grace is deprecated. It should be replaced. From what I remember, this is the same as github.com/cloudflare/tableflip used in git-repository-core, but this is yet to be confirmed.

Docker image is not up-to-date

Latest Docker image available is 0.4.0 whereas the latest version is 0.5.1. This image version is used in the docker-compose.yml from appsdeck-node

/cpu is not working

Hi people, nice work here! I have been playing with your API, but i'm unable to obtain data for my containers CPU usage. Memory and network usage returns correct data, but cpu is just always at 0 (while docker stats and cAdvisor show the real usage correctly).

My set up:

 docker run -v /sys/fs/cgroup:/host/cgroup:ro         -e CGROUP_DIR=/host/cgroup \
            -v /proc:/host/proc:ro                    -e PROC_DIR=/host/proc \
            -v /var/run/docker.sock:/host/docker.sock -e DOCKER_URL=unix:///host/docker.sock \
            -p 4244:4244 --privileged --pid=host \
            --name acadock -d scalingo/acadock-monitoring
$ docker --version
Docker version 1.5.0, build a8a31ef

An example of the issue:

$ docker ps | grep redis
396e7635c892        redis:3                              "/entrypoint.sh redi   28 hours ago        Up 28 hours         0.0.0.0:6379->6379/tcp   redis            
$ docker stats 396e7635c892
CONTAINER           CPU %               MEM USAGE/LIMIT       MEM %               NET I/O
396e7635c892        0.14%               3.301 MiB/3.756 GiB   0.09%               31.46 MiB/26.62 MiB
$ curl -L http://localhost:4244/containers/396e7635c892/mem
3465216
$ curl -L http://localhost:4244/containers/396e7635c892/net
{"Interface":"eth0","Received":{"Bytes":33051932,"Packets":163174,"Drop":0,"Errs":0,"Fifo":0,"Frame":0,"Compressed":0,"Multicast":0},"Transmit":{"Bytes":27964385,"Packets":169496,"Drop":0,"Errs":0,"Fifo":0,"Frame":0,"Compressed":0,"Multicast":0},"RxBps":706,"TxBps":669}
$ curl -L http://localhost:4244/containers/396e7635c892/cpu
0

And the result is always the same, 0. Even with other containers. Any hint?

Acadock stopped monitoring container resources

ERRO[13610006] Fail to get CPU usage of '69257e307bdcd9c077fa17d7beed38049df82ca4406fa53a2b5d6fc02edeba37'  error="fail to expand ID '': fail to expand id from cgroup source docker: id not found"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.