Giter Club home page Giter Club logo

ceiloplot's Introduction

ceiloplot ALPHA

Create a gnuplot from a OpenStack Ceilometer metric.

Please keep in mind that this script is in an early alpha stage, so use this tool with care.

Example

Assuming that the openstack credentials have been set as environment variables (see 'Usage' for further details).

$ python ceiloplot.py -m network.incoming.packets.rate | gnuplot

And voilà: Here we have a nice plot of our data.

Sample plot network.incoming.packets.rate

Ceiloplot will create a line for each resource.

Usage

usage: python ceiloplot.py [-h] [--os-username OS_USERNAME]
                           [--os-password OS_PASSWORD]
                           [--os-tenant-id OS_TENANT_ID]
                           [--os-tenant-name OS_TENANT_NAME]
                           [--os-auth-url OS_AUTH_URL] --meter METER
                           [--limit LIMIT]
                           [--gnuplot-terminal GNUPLOT_TERMINAL]
                           [--gnuplot-output GNUPLOT_OUTPUT] [-o OUTPUT]

Creates a gnuplot from ceilometer

optional arguments:
  -h, --help            show this help message and exit
  --os-username OS_USERNAME
                        Defaults to env[OS_USERNAME].
  --os-password OS_PASSWORD
                        Defaults to env[OS_PASSWORD].
  --os-tenant-id OS_TENANT_ID
                        Defaults to env[OS_TENANT_ID].
  --os-tenant-name OS_TENANT_NAME
                        Defaults to env[OS_TENANT_NAME].
  --os-auth-url OS_AUTH_URL
                        Defaults to env[OS_AUTH_URL].
  --meter METER, -m METER
                        The meter to use.
  --limit LIMIT, -l LIMIT
                        The maximum number of samples.
  --gnuplot-terminal GNUPLOT_TERMINAL, -t GNUPLOT_TERMINAL
                        terminal options passed to gnuplot.
  --gnuplot-output GNUPLOT_OUTPUT, -g GNUPLOT_OUTPUT
                        output options passed to gnuplot.
  -o OUTPUT, --output OUTPUT
                        Redirect the gnuplot script to the specified file.

ceiloplot's People

Contributors

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