brutasse / graphite-cyanite

A plugin for using graphite-web with the cassandra-based Cyanite storage backend.
BSD 3-Clause "New" or "Revised" License
85 stars 21 forks source link

Graphite-Cyanite

.. image:: https://travis-ci.org/brutasse/graphite-cyanite.svg?branch=master :alt: Build Status :target: https://travis-ci.org/brutasse/graphite-cyanite

A plugin for using graphite with the cassandra-based Cyanite storage backend.

Requires Graphite-API_ (preferred) or Graphite-web 0.10.X.

Graphite-API is available on PyPI. Read the documentation_ for more information.

Graphite-web 0.10.X is currently unreleased. You'll need to install from source.

.. _Graphite-API: https://github.com/brutasse/graphite-api .. _documentation: https://graphite-api.readthedocs.io/en/latest/

Installation

::

pip install cyanite

Using with graphite-api

In your graphite-api config file::

cyanite:
  urls:
    - http://cyanite-host:port
finders:
  - cyanite.CyaniteFinder

Using with graphite-web

In your graphite's local_settings.py::

STORAGE_FINDERS = (
    'cyanite.CyaniteFinder',
)

CYANITE_URLS = (
    'http://host:port',
)

Where host:port is the location of the Cyanite HTTP API. If you run Cyanite on multiple hosts, specify all of them to load-balance traffic::

# Graphite-API
cyanite:
  urls:
    - http://host1:port
    - http://host2:port

# Graphite-web
CYANITE_URLS = (
    'http://host1:port',
    'http://host2:port',
)

See pyr/cyanite_ for running the Cyanite carbon daemon.

.. _pyr/cyanite: https://github.com/pyr/cyanite

Changelog