Skip to content
Ping-TowerPublic

About

How PingTower works: service architecture, event flows, data ownership, API integration and operations.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

PingTower

PingTower · System guide

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.

Live app API Telegram


Start with a question

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 system in one minute

  1. The API saves monitor configuration in PostgreSQL and publishes target events.
  2. ping-service schedules network checks and publishes raw results.
  3. state-elevator classifies those results; metrics-writer stores history independently.
  4. On a status change, the API updates the saved status, pushes a live update and routes alerts.
  5. 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]
Loading

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.

How this guide relates to the code

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.

Maintaining this guide →

About

How PingTower works: service architecture, event flows, data ownership, API integration and operations.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors