Update escalation auditor logs to expose succeeding count (#4431)
Related to https://github.com/grafana/oncall-private/issues/2619 (we need the succeeding number to make the SLO query happy with cluster/namespace filtering)
This commit is contained in:
parent
d8e1a1dfae
commit
2aa8639e2a
1 changed files with 3 additions and 2 deletions
|
|
@ -229,8 +229,9 @@ def check_escalation_finished_task() -> None:
|
|||
if total_alert_groups_count == 0
|
||||
else (total_alert_groups_count - failed_alert_groups_count) / total_alert_groups_count * 100
|
||||
)
|
||||
task_logger.info(f"Alert groups that failed escalation: {failed_alert_groups_count}")
|
||||
task_logger.info(f"Alert groups total: {total_alert_groups_count}")
|
||||
task_logger.info(f"Alert groups failing escalation: {failed_alert_groups_count}")
|
||||
task_logger.info(f"Alert groups succeeding escalation: {total_alert_groups_count - failed_alert_groups_count}")
|
||||
task_logger.info(f"Alert groups total escalations: {total_alert_groups_count}")
|
||||
task_logger.info(f"Alert group notifications success ratio: {success_ratio:.2f}")
|
||||
|
||||
if alert_group_ids_that_failed_audit:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue