- Documentation
Torch Log Service
User Guide
Query and analysis
Machine learning function
Threshold recommendation function
Machine learning function
Threshold recommendation function
Threshold recommendation function
This topic introduces the syntax of threshold functions supported by TLS and usage examples for common scenarios.
Notice
Currently, machine learning functions are in public beta.
ts_threshold_recommendation
When monitoring SLA-related metrics with traditional manual alarm rule configuration, issues may exist in the results, including insufficient metric coverage and inaccurate alarm thresholds. If anomaly detection thresholds are set too loosely, it reduces active fault detection rate, leading to increased user loss and compensation. If anomaly detection thresholds are set too strictly, it results in a large number of false alarms. Consequently, the operation team may short of time to handle the actual exceptions.
The ts_threshold_recommendation function enables clustering analysis of historical time series data, quickly identifies the distribution of normal data, and automatically recommends exception detection thresholds. It is suitable for alarm threshold settings and similar scenarios.
- The return value is of Double type.
- Calculate the millisecond delay threshold based on time and request size.
- Query and analysis statements
- Query and analysis results
-
Last updated: 2026.05.08 14:32:46