Relay Architecture
The statux-relay/ repository is a lightweight Go agent for synthetic checks.
Structure
statux-relay/
├── main.go # Entry point
├── config/ # Configuration loading
├── checker/ # Check execution
├── api/ # API client
└── Makefile # Build scripts
How It Works
- Relay polls
synthetics-api.statux.iofor assigned checks - Executes HTTP/HTTPS and TCP checks
- Submits results back to the API
- Repeats at configured poll interval