0xfurai / 0xfurai/peekaping

[Feature request] Notification on subset of events (only UP/DOWN)

Đang mở
#160 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
1.2k
Fork
69
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Is your feature request related to a problem? Please describe.**
I would like to receive only up or down events of a monitor.
I have a monitor, that if it turns down, I trigger a webhook that does some actions

**Describe the solution you'd like**
I would like to set a flag or a checklist, ideally per notification provider, that allows me to receive only a subset of events.

**Describe alternatives you've considered**
none

**Additional context**
none

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Look at the notification provider configuration and event handling code. Identify where monitor status changes (UP/DOWN) are processed and where notifications are dispatched. The change likely involves adding a filter per provider to only send notifications for selected event types. Check existing tests for notification logic to understand the expected behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
api, backend
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.