Skip to main content

Sending graphite metrics to blueflood

Project description

# Description

Graphite _’backend’_. Twisted-based server accepts graphite source metrics and forward them to [blueflood][blueflood-git].

Server accepts only pickle protocols metrics (as it’s the only protocol used by graphite carbon-relay.)

It does very primitive _’caching’_: aggregates all metrics and flushes them in regular intervals.

# Dependencies

  • twisted

  • mock

  • pytest

  • txKeystone

# Installation

git clone cd graphite-http-wrapper python install

# Running

twistd blueflood-forward

# Configuration

Configuration is done with command line arguments passed to twistd daemon when running:

twistd -n -l - blueflood-forward –help

Switch | Description | default |
—– | ——- | ——— |
-e | Endpoint to listen on for pickle protocol metrics | tcp:2004 |
-i | Metrics send interval, sec | 30.0 |
-b | Blueflood address | http://localhost:19000 |
-t | Tenant ID | tenant |
–ttl | TimeToLive value for metrics, sec | 86400 |
-u | Keystone user | |
-k | Keystone key | |
–auth-url | Keystone token URL | |

In case you need no authentication leave -u/–user command line argument empty (default value).

[blueflood-git]: “blueflood”

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page