Skip to main content

Log status of linien locking application to influxdb

Project description

Logs the status of a linien spectroscopy lock server to influxdb.

Installation

sudo pip install linien-influxdb

Note that linien-influxdb is currently only compatible with influxdb2.

Usage

linien-influxdb is a command line tool that uses an ini-file for configuration:

    linien-influxdb config.ini

To get help, use

    linien-influxdb --help

An example configuration file, can be found here:

[influx2]
url=http://localhost:8086
org=my-org
token=my-token
timeout=6000
verify_ssl=False
bucket=my-bucket
measurement=linien-status

[linien]
host=rp-f0xxxxx.local
username=root
password=root
interval=10 # log interval in seconds
parameters=lock, modulation_amplitude, modulation_frequency, p, i, d, monitor_signal_mean, error_signal_mean, error_signal_std, control_signal_mean

For more parameters, have a look at parameters.py of Linien.

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-2.0.3.tar.gz (41.7 kB view hashes)

Uploaded Source

Built Distribution

linien_influxdb-2.0.3-py3-none-any.whl (29.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page