Skip to main content

A simple graphite querying library with workarounds on some rare bugs

Project description

https://readthedocs.org/projects/robust-graphite-client/badge/?version=latest https://travis-ci.org/Stupeflix/robust-graphite-client.svg?branch=master

A simple graphite querying library with workarounds on some rare bugs

Usage

import robgracli

client = robgracli.GraphiteClient('http://my-graphite-server.com')
result = client.aggregate('my.awesome.metric')
print result['my.awesome.metric']

For details consult the documentation.

History

1.0.0

Rewrote the client API to properly support queries returning multiple metrics. GraphiteClient now has two methods, query() to get raw data from graphite and aggregate() to retrieve single values (e.g. the average of the metrics over a period).

Both methods return ordered mappings, indexed by target.

0.1.0

Add allow_multiple argument to GraphiteClient.get_metric_value().

0.0.1 to 0.0.4

First public releases, fixing bugs.

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

robust-graphite-client-1.0.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file robust-graphite-client-1.0.1.tar.gz.

File metadata

File hashes

Hashes for robust-graphite-client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 64278b5e8e8ed87d4c905d950700a8a7b5d44b3cd3a8be75a04810ddf3c94ea9
MD5 360c0e127f1355c7377a323e2f2a611f
BLAKE2b-256 4e65702cd0ec04c51b49c2cdb7b0223cd50d56b4fb1c859f0827cde25eccfec8

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