kopia lustrzana https://github.com/bugout-dev/moonstream
a3d88d9221 | ||
---|---|---|
.. | ||
cmd/probes | ||
deploy | ||
pkg | ||
.gitignore | ||
README.md | ||
dev.sh | ||
go.mod | ||
go.sum | ||
sample.env |
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
}
}