How many alerts in the queue are useful?
Precision is the fraction of raised alerts that are true positives.
precision_score in practice
If 80 of 100 alerts identify actual faults, precision is 80%. Raising the threshold can clean up the queue while leaving more faults unseen.
中文
查准率如何估算告警队列里的有效工单?
查准率用正确告警数除以全部告警数,衡量接到一次告警后它有多可信。
precision_score 应用实例
100 条告警里有 80 条属实,查准率就是 80%。把阈值提得很高可能让队列更干净,同时让未进入队列的故障增加。