Overview of StatsHouse monitoring system
masterStatsHouse is a highly available, scalable, and multitenant monitoring system designed for large-scale production environments. It is optimized for high-resolution (1-second default) and low-latency (5-second default) metric observation.
Key Features
- Scalability: Capable of handling billions of metrics per second.
- Automatic Downsampling: High-resolution data is automatically downsampled to 1-minute and 1-hour resolutions with automatic TTL:
- High-resolution (1s): Stored for 2 days.
- Minute-resolution (1m): Stored for 1 month.
- Hour-resolution (1h): Stored indefinitely.
- Resilience: Automatically handles network unavailability and machine failures. Most components are quasi-stateless, utilizing a ClickHouse cluster as the primary stateful data store.
- Load Management: Uses explicitly configured per-second budgets for network and disk usage, automatically sampling metrics that exceed their budget to prevent system overload.
- Visualization: Includes a built-in UI for interactive metric exploration and dashboards, as well as a Grafana data source plugin for advanced use cases.