Git Product home page Git Product logo

kubesnap's Issues

Compare/contrast with Prometheus

I enjoyed your recent post on Medium The benefits of using Snap with Kubernetes, but I'm left wondering what the differences are with the other popular Kubernetes metrics framework: prometheus.io?

Issue with reporting CPU utilization

When using workload (src/workload) which is running stress on dedicated number of cores metrics for CPU utilization seems to be incorrect. For a container with CPU limit of 5k milicores and request of 1k milicores when stress is run on 2 cores (2k milicores) it's seen that metrics for CPU utilization have strange values (like negative values, or very high values - like 15k milicores). This causes horizontal pod autoscaler to behave incorrectly - logic seems right but the data are causing unnecessary pods creation or deletion.

Network stats

What is the difference between network stats under "network" and those under "network"->"interfaces"? Why this one interface is reported in section "network"?

 "network": {
  "name": "enp4s0f1",
  "rx_bytes": 12124592136,
  "rx_packets": 21675552,
  "rx_errors": 0,
  "rx_dropped": 0,
  "tx_bytes": 3935774766,
  "tx_packets": 5334828,
  "tx_errors": 0,
  "tx_dropped": 0,
  "interfaces": [
   {
    "name": "enp4s0f1",
    "rx_bytes": 12124592136,
    "rx_packets": 21675552,
    "rx_errors": 0,
    "rx_dropped": 0,
    "tx_bytes": 3935774766,
    "tx_packets": 5334828,
    "tx_errors": 0,
    "tx_dropped": 0
   },
   {
    "name": "flannel.1",
    "rx_bytes": 6263507721,
    "rx_packets": 4596302,
    "rx_errors": 0,
    "rx_dropped": 0,
    "tx_bytes": 2353793829,
    "tx_packets": 608371,
    "tx_errors": 0,
    "tx_dropped": 8
   },
   {
    "name": "eth2",
    "rx_bytes": 0,
    "rx_packets": 0,
    "rx_errors": 0,
    "rx_dropped": 0,
    "tx_bytes": 0,
    "tx_packets": 0,
    "tx_errors": 0,
    "tx_dropped": 0
   },

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.