Giter VIP home page Giter VIP logo

prometheus-rancher-exporter's Introduction

workflow status Go Report Card

Unofficial Prometheus Exporter for Rancher

Note : This project is not officially supported by Rancher/Suse.

Quickstart

  1. Enable monitoring in the Rancher Management Cluster, aka local cluster

  2. Apply the manifest from this repo : kubectl apply -f ./manifests/exporter.yaml

  3. You can set timers by environment variable:

    TIMER_TICKER=10 - how ofter read data, in seconds

    TIMER_GET_LATEST_RANCHER_VERSION=1 - how often get latest rancher version from github, in minutes

Grafana Dashboards

./manifests/grafana-dashboard includes a basic dashboard in JSON format that can be imported into Grafana.
./manifests/grafana-dashboard-projects.json includes a Rancher project-focused dashboard in JSON format that can be imported into Grafana.
./manifests/grafana-dashboard-all-cr.json includes a dynamic dashboard showing counts for all Rancher custom resources (*.cattle.io).
./manifests/grafana-dashboard-nodes.json includes a dynaic dashboard showing global node metadata across all managed clusters (ie Kernel/OS versions, roles, etc)

Example Screenshots

img.png img.png img.png image

Developing

By default, the exporter will use in-cluster authentication via a associated service account

External cluster config

To test using external authentication via the local kubeconfig, set the following environment variable:

export RANCHER_EXPORTER_EXTERNAL_AUTH=TRUE

prometheus-rancher-exporter's People

Contributors

actions-user avatar david-vtuk avatar ebauman avatar mrueg avatar ulikl avatar wmp 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.