ClickStack Adds Smarter Alerts with Anomaly Detection
Alps Wang
Oct 16, 2026 · 2 views
Beyond Static Thresholds: ClickStack's Alerting Evolution
The introduction of built-in anomaly detection in ClickStack's alerting is a crucial step towards more intelligent and automated monitoring. By leveraging z-scores and a configurable baseline, it aims to reduce alert fatigue and capture subtle deviations that static thresholds miss. The article clearly articulates the problem of service-specific baselines and the challenges of false positives, offering a well-reasoned solution. The emphasis on previewing configurations and the 5% relative change requirement are practical considerations that demonstrate a focus on usability and accuracy. Furthermore, the scalability improvements, including scheduler enhancements, sharding, and batched writes, are vital for enterprise adoption and handling the growing volume of telemetry data. The move to background notification delivery is a smart architectural choice to prevent slow external services from impacting core evaluation processes.
However, the current implementation of anomaly detection has some acknowledged limitations. The article rightly points out that gradual deteriorations and sustained problems can become part of the baseline, leading to undetected issues. The lack of support for seasonality, recurring daily/weekly patterns, and the need for different treatments for noisy data or low-volume services are areas for future development. While z-scores are a good starting point, the mention of exploring median-based estimates and quantile bands suggests an ongoing effort to refine the statistical models. The future roadmap, including PromQL support, indicates a strategic direction towards becoming a more comprehensive observability platform, potentially competing more directly with established players. The success of these future enhancements, particularly in handling complex patterns and integrating with other metric systems, will be key to ClickStack's continued growth in the observability space.
Key Points
- Managed ClickStack now includes built-in statistical anomaly detection for query-builder charts using z-scores.
- This feature aims to detect unusual metric deviations compared to recent history, reducing reliance on static thresholds.
- Key configurations include sensitivity (z-score threshold), baseline history length (default 2 hours), and direction of change.
- A 5% relative change requirement and a 30-second data arrival buffer are implemented to mitigate false positives from small fluctuations and incomplete data.
- Scalability improvements include a revamped scheduler, sharding for distributed evaluation, and batched database writes to handle tens of thousands of alerts.
- Notification delivery is now asynchronous via a background queue to prevent slow endpoints from blocking the scheduler.
- The alerts UI has been enhanced with batch loading, naming, tagging, and advanced filtering for better management of large alert collections.
- Future plans include support for seasonality, median/quantile-based estimates, and PromQL alerting.

📖 Source: Scaling ClickStack alerting with built-in anomaly detection
Related Articles
Comments (0)
No comments yet. Be the first to comment!
