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.6 (2015-10-05): Return arbitrarily large intervals in get_intervals().

  • 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.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

cyanite-0.4.6-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for cyanite-0.4.6.tar.gz
Algorithm Hash digest
SHA256 e85f4b4f7140c0a28d3b1401902ab62d33572df4be52090bae188e6b2ac78118
MD5 023aba6c326f21e26cecb9b4ce3f1f6d
BLAKE2b-256 20aee34ee0899ddbc3765066d9a50821f9aeee76341686796cbb0d0de6a1130b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cyanite-0.4.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9fd01d49581a69ac9c25cdfd73dfb2d71fa2d32c3b4293cb9e68354c5daf6b46
MD5 81c87c2eca9d8a1e9296ce1776dd30d8
BLAKE2b-256 5db96c0272e36d74190c03fafb6574da28cdb3160314cee6262d162202d2f385

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