Giter Site home page Giter Site logo

michaelwasher / node-metrics Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 10 KB

Small tool for collecting node-level metrics in OpenShift. Specifically this will be used for platform Network troubleshooting

Dockerfile 1.88% Shell 92.54% Smarty 5.58%

node-metrics's Introduction

Node Metrics - Must-Gather image

This repository is deprecated and has now been moved to github.com/support-tools

This repository is used to build an image for use with the OpenShift Must-Gather tool. This container image deploys a DaemonSet within the cluster that will collect SAR and other Node Metrics.

The plan is to have the list of metrics configurable through arguments or environment variables, however at this stage the collection is defined in the collect-metrics.sh script.

How to Use

Metrics collection tool is split into two parts, deploying and collecting.

Deploying

To start retaining metrics for Nodes within the cluster, the 'deploy' option is used when running the image as below:

$ oc adm must-gather --image quay.io/mwasher/node-monitor-deploy -- deploy

Adding the collect-nodes-metrics label to the desired Nodes will indicate to the tool which Nodes should be monitored.

$ oc label nodes/worker-0.dev-cluster.michael-washer.dev collect-node-metrics=""

Collecting the Metrics

To bundle and download the metrics from all labeled Nodes, the 'collect' option should be used as below:

$ oc adm must-gather --image quay.io/mwasher/node-monitor-deploy -- collect

Uninstall

To remove the metrics collectors the 'destroy' option should be used:

$ oc adm must-gather --image quay.io/mwasher/node-monitor-deploy -- destroy

node-metrics's People

Contributors

michaelwasher avatar

Stargazers

 avatar

Watchers

 avatar  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.