A simple graphite querying library with workarounds on some rare bugs
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file robust-graphite-client-1.0.0.tar.gz
.
File metadata
- Download URL: robust-graphite-client-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00419e8eaa8824c35e3b24673edcc9af74e87c9ad74ecae5a8622394ca100a42 |
|
MD5 | 3808166fb2de4c2c22e6eebf5206dc7d |
|
BLAKE2b-256 | a296a4d013544418395d4b5ac4d221df90184dc6628e58e0d82ea9f47500856a |