Log status of linien locking application to influxdb
Project description
Logs the status of a linien spectroscopy lock server to influxdb.
Installation
sudo pip3 install linien-influxdb
Usage
First, you have to create a config.py file with the basic configuration:
# On which host is the linien server running? Should point to a RedPitaya
linien_host = 'localhost'
# influxdb configuration parameters
influxdb_host = 'localhost'
influxdb_port = 8086
influxdb_user = None # optional
influxdb_password = None # optional
influxdb_database = 'my_database_name'
influxdb_measurement = 'linien'
logging_interval = 1 # in seconds
For a complete list of parameters, refer to default_config.py.
Then you can start the application (in the directory of config.py):
linien-influxdb config.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linien-influxdb-1.0.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for linien_influxdb-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27db7e6b57d0ab7c5af9986badaddd6b8a015b69512dd2abe2d756559395e914 |
|
MD5 | 29814b4687e9795c014a7e28503bf802 |
|
BLAKE2b-256 | aca3246aaf72554720eae36928840e8b30606f540d68d87298e6bd3e423c3b09 |