Skip to main content

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

  1. Relay polls synthetics-api.statux.io for assigned checks
  2. Executes HTTP/HTTPS and TCP checks
  3. Submits results back to the API
  4. Repeats at configured poll interval