timeseries database with reduce system
Project description
About
serialkiller time series database with reduce system, it kill the same time series ! :)
serialkiller can be used in three different ways: - In command line - In http API REST mode - With library
Installing
To install the latest release from PyPI
$ pip install serialkiller
To install the latest development version from GitHub
$ pip install git+git://github.com/badele/serialkiller.git
Configuration
Copy sk_server.cfg from serialkiller package to /etc/sk_server.cfg and edit your .bashrc, add this line
SERIALKILLER_SETTINGS=/etc/sk_server.cfg
The default sk_server.cfg
STORAGE = "/tmp/sensors" HOST = 0.0.0.0 PORT = 80 DEBUG = False
Now you can run the serialkiller standalone server with sk_standalone
sk_standalone &
You can now use the serialkiller-plugins for push the sensors results
You can also point your web navigator to http://youipserver, that return the list of all functions in JSON format, sample result:
{ "/": "All serialkiller API functions", "/api/1.0/": "All serialkiller API functions", "/api/1.0/addEvent/<sensorid>/<type>/<values>": "Add a new event, no deduplicate", "/api/1.0/addValue/<sensorid>/<type>/<values>": "Add a new value, deduplicate line", "/api/1.0/list": "List all last sensors" }
Changelog
Version 0.0.1 (2013-12-29)
First version