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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for linien-influxdb, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size linien_influxdb-1.0.0-py3-none-any.whl (7.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size linien-influxdb-1.0.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page