Giter Site home page Giter Site logo

kristobaljunta / docker-stats-graph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sylhare/docker-stats-graph

0.0 1.0 0.0 1.12 MB

๐Ÿณ Plot graph and more from docker stats, jmeter

License: MIT License

Shell 0.14% Python 2.23% Jupyter Notebook 97.64%

docker-stats-graph's Introduction

Docker Stats Graph

To plot docker stats into graph from multiple dockers.

Get Started

Run the scrips/generate_data.sh, this will produce a data.csv that will be used to create the graphs.

Docker Stats Info

Let's dig into each of those columns:

  • The CONTAINER column lists the container IDs.
  • The CPU % column reports the host capacity CPU utilization.
    • For example, if you have two containers, each allocated the same CPU shares by Docker, and each using max CPU, the docker stats command for each container would report 50% CPU utilization. Though from the container's perspective, their CPU resources would be fully utilized.
  • The MEM USAGE / LIMIT and MEM % columns display the amount of memory used by the container, along with the container memory limit, and the corresponding container utilization percentage.
    • If there is no explicit memory limit set for the container, the memory usage limit will be the memory limit of the host machine.Note that like the CPU % column, these columns report on host utilization.
  • The NET I/O column displays the total bytes received and transmitted over the network by the corresponding container.
  • The BLOCK I/O section displays the total bytes written and read to the container file system.
  • The PIDS column displays the number of kernel process IDs running inside the corresponding container.

Testing

To find out more info about the testing configuration, check out the tox.ini file. Use the dev-requirements.txt for libraries only used for tests or dev.

# Run the test suite
tox
# Run the linter:
tox -e lint
# Run the coverage on the src module
tox -e coverage

Misc Notes

  • Make sure and edit the package title in setup.py to reflect your app name
  • If you have issue with tox and ModuleNotFoundError, try set recreate to True in tox.ini.

Sources

Some of the source I use for the docker stats command.

docker-stats-graph's People

Contributors

kristobaljunta avatar sylhare avatar

Watchers

 avatar

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.