Git Product home page Git Product logo

cadvisor-integration's Introduction

Build Status Docker Repository on Quay.io

cadvisor-integration

Overview

This tool designed to run inside of Kubernetes cluster. After installation it will auto discover cluster nodes and will query stats from them on time basis.

Installation

You may clone and build tool by yourself but the easiest way is to use prebuild docker image. Here is an example yaml file:

apiVersion: v1
kind: Pod
metadata:
  name: "test-scrapper"
  labels:
    app: "test-scrapper"
spec:
  containers:
  - name: scrapper
    image: "quay.io/signalfx/prometheustosfx:latest"
    env:
    - name: SFX_SCRAPPER_API_TOKEN
      value: <API TOKEN>
    - name: SFX_SCRAPPER_CLUSTER_NAME
      value: <CLUSTER NAME>
    - name: SFX_SCRAPPER_SEND_RATE
      value: 5s

Full options list

Option Default val. Comment Env. Var.
--ingestURL "https://ingest.signalfx.com" SignalFx ingest URL.
--apiToken API token. $SFX_SCRAPPER_API_TOKEN
--clusterName Cluster name will appear as dimension. $SFX_SCRAPPER_CLUSTER_NAME
--sendRate "1s" Rate at which data is queried from cAdvisor and send to SignalFx. Possible values: [10s 30s 1m 5m 1h 1s 5s] $SFX_SCRAPPER_SEND_RATE
--cadvisorPort 4194 Port on which cAdvisor listens. $SFX_SCRAPPER_CADVISOR_PORT
--nodeServiceDiscoveryRate "5m" Rate at which nodes and services will be rediscovered. Possible values: [20m 3m 5m 10m 15m] $SFX_SCRAPPER_NODE_SERVICE_DISCOVERY_RATE

License

This tool is licensed under the Apache License, Version 2.0. See LICENSE for full license text.

cadvisor-integration's People

Contributors

beccatortell avatar cep21 avatar michaeltrobinson 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.