From one network check to a useful alert.
How the services fit together, where data lives, and what happens between
adding a monitor and receiving its first notification.
| I want to… | Read | What you will learn |
|---|---|---|
| understand the system | Service map | Responsibilities, boundaries and connections |
| follow one check | Event flows | Create → probe → classify → notify, step by step |
| understand Up and Down | Checks and alerts | Protocols, retries, thresholds and notification rules |
| know where data lives | Data ownership | PostgreSQL, ClickHouse, Redis and recovery boundaries |
| build an integration | HTTP and live updates | Authentication, API examples, errors and SignalR |
| connect a worker | Event contracts | Exchanges, consumer queues, payloads and delivery limits |
| run or deploy PingTower | Run and deploy | The right entry point for local development and Kubernetes |
| investigate a problem | Troubleshooting | Trace a failure through the pipeline without guessing |
- The API saves monitor configuration in PostgreSQL and publishes target events.
- ping-service schedules network checks and publishes raw results.
- state-elevator classifies those results; metrics-writer stores history independently.
- On a status change, the API updates the saved status, pushes a live update and routes alerts.
- email-service and tg-bot deliver queued notifications.
flowchart LR
UI[Browser] <-->|HTTP and SignalR| API[API]
API -->|Target configuration| P[ping-service]
P -->|Check results| S[state-elevator]
P -->|Check results| M[metrics-writer]
S -->|Status transitions| API
M --> CH[(ClickHouse)]
API --> E[email-service]
API --> T[tg-bot]
Arrows between application services above are carried by RabbitMQ. The browser uses HTTP and SignalR. See the full service map for storage connections and external dependencies.
This repository explains behaviour across services. Service READMEs own their
local setup; infra owns deployment manifests, broker definitions and the AsyncAPI
file. The API publishes its own OpenAPI document.
We link to these sources rather than maintain another copy.
Examples use synthetic accounts, hosts and IDs. Descriptions were checked against the implementation on 15 November 2026; current constraints are called out in the relevant chapters rather than presented as future features.
Source repositories: GitLab group · GitHub mirrors. Source-code links in this guide use the public mirrors so they also work for readers without GitLab group access. Contributions go through GitLab.