RETIRED, Fuel plugin to manage InfluxDB and Grafana
Go to file
Simon Pasquier 1dd41a4fab Add documentation placeholder
Change-Id: I278150b3620c4e483d27d517918d025967ff7ed4
2015-09-18 17:39:28 +02:00
contrib/dashboards Fix wrong path in the README file. 2015-04-23 12:06:24 +02:00
deployment_scripts/puppet Switch to custom role influxdb_grafana 2015-09-07 18:03:03 +02:00
doc Add documentation placeholder 2015-09-18 17:39:28 +02:00
figures Manage the size of the partition 2015-04-21 14:48:51 +00:00
repositories Create the plug-in structure. 2015-03-25 12:29:39 +01:00
specs Add blueprint for the InfluxDB/Grafana Fuel plugin 2015-03-04 17:13:00 +01:00
.gitignore Fix tests when executed by Jenkins slaves 2015-09-07 10:03:41 +02:00
.gitreview Added .gitreview 2015-02-24 22:43:28 +00:00
LICENSE Add appendix to LICENSE 2015-06-19 18:45:49 +02:00
README.md Update README file 2015-09-09 09:32:54 +02:00
deployment_tasks.yaml Switch to custom role influxdb_grafana 2015-09-07 18:03:03 +02:00
environment_config.yaml Switch to custom role influxdb_grafana 2015-09-07 18:03:03 +02:00
functions.sh Use official 2.1.0 packages for Grafana 2015-08-10 12:40:39 +02:00
metadata.yaml Switch to custom role influxdb_grafana 2015-09-07 18:03:03 +02:00
node_roles.yaml Switch to custom role influxdb_grafana 2015-09-07 18:03:03 +02:00
pre_build_hook Remove the RPM packages 2015-09-15 17:34:34 +02:00
tasks.yaml Remove task calling manifest previously removed 2015-09-09 17:46:10 +02:00
test-requirements.txt Add documentation placeholder 2015-09-18 17:39:28 +02:00
tox.ini Add documentation placeholder 2015-09-18 17:39:28 +02:00
volumes.yaml Switch to custom role influxdb_grafana 2015-09-07 18:03:03 +02:00

README.md

InfluxDB-Grafana Plugin for Fuel

InfluxDB-Grafana plugin

Overview

InfluxDB provides an open source time series database. Grafana is a rich dashboard and graph editor for InfluxDB.

Requirements

Requirement Version/Comment
Mirantis OpenStack compatibility 7.0 or higher

Recommendations

None.

Limitations

None.

Installation Guide

InfluxDB-Grafana plugin installation

To install the InfluxDB-Grafana plugin, follow these steps:

  1. Download the plugin from the Fuel Plugins Catalog.

  2. Copy the plugin file to the Fuel Master node. Follow the Quick start guide if you don't have a running Fuel Master node yet.

    scp influxdb_grafana-0.8-0.8.0-0.noarch.rpm root@<the Fuel Master node IP address>:
    
  3. Install the plugin using the fuel command line:

    fuel plugins --install influxdb_grafana-0.8-0.8.0-0.noarch.rpm
    
  4. Verify that the plugin is installed correctly:

    fuel plugins
    

Please refer to the Fuel Plugins wiki if you want to build the plugin by yourself, version 3.0.0 (or higher) of the Fuel Plugin Builder is required.

User Guide

InfluxDB-Grafana plugin configuration

  1. Create a new environment with the Fuel UI wizard.
  2. Click on the Settings tab of the Fuel web UI.
  3. Scroll down the page, select the "InfluxDB-Grafana Server plugin" tab, enable the plugin and fill-in the required fields.
    • The password for the InfluxDB root user.
    • The name of the database where you want to store your metrics.
    • The username and the password for this specific database.
    • The name and the password for the Grafana admin user.
  4. Add a node with the "InfluxDB Grafana" role.

Disks partitioning

The plugin uses:

  • 20% of the first disk for the operating system by honoring the range of 15GB minimum and 50GB maximum.
  • 10GB for /var/log.
  • at least 30GB for the InfluxDB data (/opt/influxdb).

Testing

InfluxDB

Once installed, you can check that InfluxDB is working using curl:

curl -G 'http://<HOST>:8086/'  \
  --data-urlencode "u=<root user of InfluxDB>" \
  --data-urlencode "p=<password of root user>" \
  --data-urlencode "q=show databases"

Where HOST is the IP address or the name of the node that runs the server and credentials are those provided in the Fuel UI for the InfluxDB root user.

The curl command should return something similar to:

{"results":[{"series":[{"name":"databases","columns":["name"],"values":[["lma"]]}]}]}

Grafana

Grafana is available at:

http://$HOST:8000/

You can login by using the username and password that you provided in the Fuel UI.

Known issues

None.

Release Notes

0.8.0

  • Upgrade Grafana to 2.1
  • Upgrade InfluxDB to 0.9
  • Add support for retention policy

0.7.0

  • Initial release of the plugin. This is a beta version.

Development

The OpenStack Development Mailing List is the preferred way to communicate, emails should be sent to openstack-dev@lists.openstack.org with the subject prefixed by [fuel][plugins][lma].

Reporting Bugs

Bugs should be filled on the Launchpad fuel-plugins project (not GitHub) with the tag lma.

Contributing

If you would like to contribute to the development of this Fuel plugin you must follow the OpenStack development workflow.

Patch reviews take place on the OpenStack gerrit system.

Contributors