feat: skip error change notification option

This commit is contained in:
lyc8503 committed 2025-11-05 01:06:21 +08:00
1 parent a1fa753450
commit e87e350d6d
3 files changed
+15 -8

No files matched your search

+2
View File
@@ -120,6 +120,8 @@ const workerConfig: WorkerConfig = {
gracePeriod: 5,
// [Optional] disable notification for monitors with specified ids
skipNotificationIds: ['foo_monitor', 'bar_monitor'],
// [Optional] suppress extra notifications for error reason changes during an incident, default to false
skipErrorChangeNotification: true,
},
callbacks: {
onStatusChange: async (