Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poogles/ohesteebee
Python OpenTSDB client
https://github.com/poogles/ohesteebee
Last synced: 4 days ago
JSON representation
Python OpenTSDB client
- Host: GitHub
- URL: https://github.com/poogles/ohesteebee
- Owner: Poogles
- License: apache-2.0
- Created: 2016-11-18T17:52:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-24T01:31:53.000Z (almost 8 years ago)
- Last Synced: 2024-12-06T21:56:18.445Z (27 days ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### ohesteebee
A pythonic OpenTSDB client to send and receive time series data.
#### Examples
##### Get.
```
from ohesteebee import Ostbostb = Ostb(host="ostb.local", port="8080")
# Defaults to a 1h window from now with no tags.
ostb.get('system.load.1')# Add a lookback of either a timedelta or a value + y/m/d/h/m/s.
ostb.get('system.load.1', lookback="1d")
```##### Put.
```
from ohesteebee import Ostbostb = Ostb(host="ostb.local", port="8080")
# Put takes any series of kwargs as tags.
ostb.put('system.load.1', 1.1, foo=bar, baz=qux)
```