Change interval unit type to seconds

This commit is contained in:
pleb
2026-03-22 16:02:18 -07:00
parent 0531a23680
commit dc5023d272
4 changed files with 23 additions and 20 deletions
+3 -3
View File
@@ -36,14 +36,14 @@ cp .env.example .env
Example: run probes every 5 minutes instead of on each scrape:
```bash
export PROBE_INTERVAL_MS=300000
export PROBE_INTERVAL_SECONDS=300
```
Environment variables:
- `RELAYS` (required): comma-separated `wss://` URLs
- `PROBE_INTERVAL_MS` (default: `0`; `0` means run probes on each `/metrics` scrape)
- `PROBE_TIMEOUT_MS` (default: `10000`)
- `PROBE_INTERVAL_SECONDS` (default: `0`; `0` means run probes on each `/metrics` scrape)
- `PROBE_TIMEOUT_SECONDS` (default: `10`)
- `LISTEN_ADDR` (default: `0.0.0.0`)
- `PORT` (default: `9464`)
- `LOG_LEVEL` (default: `info`; one of `debug|info|warn|error`)