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 details)
Built Distribution
File details
Details for the file linien-influxdb-1.0.0.tar.gz
.
File metadata
- Download URL: linien-influxdb-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c160f2637b549e6ac49b483df39d960f18b9538f6cb15dd9c7dc6caff61940 |
|
MD5 | 4478dc1141ec2370a4ea1f68b9644786 |
|
BLAKE2b-256 | 744ff0c90b630bb7bb267d74c0862060dee756710c8312406bd884e8a016c7df |
File details
Details for the file linien_influxdb-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: linien_influxdb-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27db7e6b57d0ab7c5af9986badaddd6b8a015b69512dd2abe2d756559395e914 |
|
MD5 | 29814b4687e9795c014a7e28503bf802 |
|
BLAKE2b-256 | aca3246aaf72554720eae36928840e8b30606f540d68d87298e6bd3e423c3b09 |