Skip to content

FrEaKmAn/kairosdb-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kairosdb-python-client

Python client for KairosDB. Very alpha stage! Build Status

Installation

TODO

Getting Started

TODO

Examples

Query data points

To query datapoints, we create a query

client = KairosDBRestClient()
client.query(1448019060000, 1448019560000, metrics=[
    Metric('my.test.metric').tag(host=['amazon', 'azure']).group_by(tags=['host']).aggregate(avg=(1, 'hours'))
])

or shorter

client[1448019060000:1448019560000:AvgAggregator(1,'hours'), 'my.test.metric'].tag(host=['amazon', 'azure']).group_by(tags=['host']).query()

About

Python client for KairosDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages