Small hi-tech company

Use-case: Real-Time Monitoring System

I visited a small company that develops hi-tech electronic products. I had an opportunity to speak with the system engineer about his monitoring system. He told me that he saves 5 times per second key measured values to the CSV file during the over-night measurement. Next day in the morning he imports data to the Microsoft Excel and creates some basic plots to see interesting correlations. The process takes him several minutes every day. He uses this system because it is easy. In generally he just do:

while True:
  #read sensor DATA
  payload = f"{sensor1},{sensor2},{sensor3}\n"
  with open('meas.csv', 'a') as the_file:
      the_file.write(payload)
  time.sleep(200.0)  

He told me that sometimes something wrong happens at the beginning of the measurement but there is no way how to detect because his system is not real-time.

Send your data to the Corlysis instead of the CSV file

I said to him: “Try Corlysis Real-Time Monitoring System - the same online monitoring system as the SpaceX uses”. It is based on the open source project Grafana and the best time-series database InfluxDB. The workflow is simple:

Corlysis grafana influxdb

And sending your data to the Corlysis is easy:

url = 'https://corlysis.com:8086/write'
params = {"db": "meas", "u": "token", "p": "8c0b74aXXX871"}
while True:
  #read sensor DATA
  payload = "sensor_data s1={sensor1},s2={sensor2},s3={sensor3}\n"
  r = requests.post(url, params=params, data=payload)
  time.sleep(200.0)  

The system engineer started using Corlysis app and he can concentrate on his task - not to data processing. He can also easily share his dashboard with his customers. The system can handle millions of points and can plot them in real-time. When I came back to that company He was still using Grafana and InfluxDB and He discovered many new cool functions in Grafana. This is the result: Corlysis grafana influxdb