Skip to content

A simple graphite querying library with workarounds on some rare bugs

License

Notifications You must be signed in to change notification settings

flupke/robust-graphite-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robust-graphite-client

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.1.0

Add GraphiteClient.find_metrics().

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.

About

A simple graphite querying library with workarounds on some rare bugs

Resources

License

Stars

Watchers

Forks

Packages

No packages published