Skip to main content

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

Project description

Build Status

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.

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.

Changelog

  • 0.4.5 (2015-05-05): Handle path matches that return no data.

  • 0.4.4 (2014-10-22): Chunk cyanite requests if they end up being too long for cyanite.

  • 0.4.3 (2014-05-15): Fix a KeyError when no data is returned by cyanite for a given path.

  • 0.4.2 (2014-04-11): Fix graphite-web compatibility when using settings.CYANITE_URLS.

  • 0.4.1 (2014-04-10): Fix for multiple fetches when the results are empty.

  • 0.4.0 (2014-04-10): Ability to fetch multiple paths at a time instead of sequentially (requires graphite-api).

  • 0.3.0 (2014-04-07): Change configuration syntax to allow multiple-node cyanite setups.

  • 0.2.1 (2014-03-07): Prevent breaking graphite rendering when no data is returned from cyanite.

  • 0.2.0 (2014-03-06): Graphite-API compatibility.

  • 0.1.0 (2013-12-08): initial version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyanite-0.4.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

cyanite-0.4.5-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cyanite-0.4.5.tar.gz.

File metadata

  • Download URL: cyanite-0.4.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cyanite-0.4.5.tar.gz
Algorithm Hash digest
SHA256 8a65511b51c3763d9aea04a5f45145b5562872373c8bac2a242790770c38c304
MD5 7d6382b1b1b3a4b95dc344815ac29d79
BLAKE2b-256 fd8add93857690dcb8526c81a766d50c33e281506d8e2681dfa39eb58cf2d518

See more details on using hashes here.

File details

Details for the file cyanite-0.4.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cyanite-0.4.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86f38948080d1d71ce18cce88f38bf3a232e2dd321750a584770e92d394d1660
MD5 6f8693feda8a2a7b6b16573e099f3675
BLAKE2b-256 5045ace3bff5a84a3d2e9c545f28b82020e8d658adaa56bfbf211d08e5ba5e1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page