moonstream/probes
kompotkot a3d88d9221 Build executables via deployment 2023-07-05 12:12:48 +00:00
..
cmd/probes Work with multiple configuration files 2023-06-13 12:30:59 +00:00
deploy Build executables via deployment 2023-07-05 12:12:48 +00:00
pkg Work with multiple configuration files 2023-06-13 12:30:59 +00:00
.gitignore Fixed typo with probes 2023-06-13 08:02:48 +00:00
README.md Work with multiple configuration files 2023-06-13 12:30:59 +00:00
dev.sh Fixed typo with probes 2023-06-13 08:02:48 +00:00
go.mod Fixed typo with probes 2023-06-13 08:02:48 +00:00
go.sum Fixed typo with probes 2023-06-13 08:02:48 +00:00
sample.env Fixed typo with probes 2023-06-13 08:02:48 +00:00

README.md

probes

Running multiple operations simultaneously under one application.

Execute one command:

probes engine clean-call-requests --db-uri "${ENGINE_DB_URI}"

Run service with configuration:

probes service \
    --config /home/ubuntu/.probes/engine-clean-call-requests.js

Config example:

{
    "application": "engine",
    "db_uri": "ENGINE_DB_URI",
    "db_timeout": "15s",
    "probe": {
        "name": "clean-call-requests",
        "interval": 10
    }
}