GithubHelp home page GithubHelp logo

one_exporter's Introduction

ONE exporter

Prometheus exporter for OpenNebula clusters, written in Go. The exporter exposes the metrics of the hosts in a cluster, through the GOCA API of the OpenNebula Frontend. The metrics are provided both per host and summed per cluster to give you a quick overview of your OpenNebula cluster as a whole. While the cluster metrics aren't strictly necessary as they can be calculated using the host metrics, they are added for convenience.

Use

You can run the one exporter with the -c flag pointing to its configuration file. If you don't include a configuration file, the exporter will use the config.yml in the current directory, so ./one_exporter and ./one_exporter -c config.yml are identical.

Use the --help flag for more information.

Configuration

The one exporter uses the following parameters in the configuration file.

# credentials to access OpenNebula
user: oneadmin
password: oneadmin

# OpenNebula frontend endpoint
# an empty endpoint will default to http://localhost:2633/RPC2
# endpoint:

# frequency to retrieve metrics in seconds. defaults to 60.
# interval: 60

# host and port to run the exporter on
host: 0.0.0.0
port: 9621

# exporter uri to publish on. defaults to /metrics
# path: /metrics

one_exporter's People

Contributors

jorisdevrede avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

one_exporter's Issues

Add VMs

Add the metrics for individual VMs in a one_vm_xxx format. Since the amount of data can grow quite large, the collection of VM metrics should be made optional with a flag.

Add Datastores

Add the metrics for datastores in the same one_ds_xxx format as the host information is. Each metric can be labeled with both a cluster name and datastore name.

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.