feat #88 notification blacklist

This commit is contained in:
lyc8503 committed 2025-04-07 00:50:16 +08:00
1 parent 8c818017c1
commit 9bc5deb99d
2 files changed
+12 -2

No files matched your search

+2
View File
@@ -84,6 +84,8 @@ const workerConfig = {
// notification will be sent only if the monitor is down for N continuous checks after the initial failure
// if not specified, notification will be sent immediately
gracePeriod: 5,
// [Optional] disable notification for monitors with specified ids
skipNotificationIds: ['foo_monitor', 'bar_monitor'],
},
callbacks: {
onStatusChange: async (