Client-server application that streams frequencies to the client that detects anomalies and puts them into PostgreSQL database.
docker-compose.yml will allow you to build the client and the server as binaries to your machine, launch PostgreSQL database on port 5432 and launch server on localhost:8888. Just do:
docker compose up -dTo use client just launch binary from the build directory:
./client- Command-line arguments
- optional address
string- Server host and port, for examplelocalhost:8888. Default:0.0.0.0:8888
- optional address
- Command-line arguments
- optional
addressstring- Server host and port, for examplelocalhost:8888. Default:0.0.0.0:8888 - optional
kfloat- Coeffitient for the detector to detect anomalies that onlyk * STDfar from expected mean. Default:1
- optional
- Environment variables
- optional
POSTGRES_HOST- PostgreSQL database host. Default:localhost - optional
POSTGRES_USER- PostgreSQL database user. Default:postgres - optional
POSTGRES_PASSWORD- PostgreSQL user password. Default:postgres - optional
POSTGRES_DATABASE- PostgreSQL database to connect to. Default:postgres - optional
POSTGRES_PORT- PostgreSQL port of the host. Default:5432
- optional
It is not necessary to create table for the anomalies in the database, client will be do it automatically.