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 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)

Uploaded Source

Built Distribution

linien_influxdb-1.0.0-py3-none-any.whl (7.3 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