moonstream/probes/README.md

31 wiersze
502 B
Markdown

2023-06-13 08:02:48 +00:00
# probes
2023-06-12 14:04:24 +00:00
Running multiple operations simultaneously under one application.
Execute one command:
```bash
2023-06-13 08:02:48 +00:00
probes engine clean-call-requests --db-uri "${ENGINE_DB_URI}"
2023-06-12 14:04:24 +00:00
```
Run service with configuration:
```bash
2023-06-13 12:30:59 +00:00
probes service \
--config /home/ubuntu/.probes/engine-clean-call-requests.js
2023-06-12 14:04:24 +00:00
```
Config example:
```json
2023-06-13 12:30:59 +00:00
{
"application": "engine",
2023-06-12 14:04:24 +00:00
"db_uri": "ENGINE_DB_URI",
2023-06-13 12:30:59 +00:00
"db_timeout": "15s",
"probe": {
2023-06-12 14:04:24 +00:00
"name": "clean-call-requests",
"interval": 10
2023-06-13 12:30:59 +00:00
}
}
2023-06-12 14:04:24 +00:00
```