A simple graphite querying library with workarounds on some rare bugs
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.
Add GraphiteClient.find_metrics()
.
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.
Add allow_multiple argument to GraphiteClient.get_metric_value()
.
First public releases, fixing bugs.