Alerts are sometimes not being fired when the logs meet the threshold criteria.
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 57/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- clickhouse, typescript
- Lĩnh vực
- observability
Hướng nghiên cứu
Start by reading packages/api/src/tasks/checkAlerts/index.ts, especially getScheduledWindowStart, and compare the current Start offset behavior with the tooltip’s promise of delaying evaluation for ingestion lag. Confirm the intended window semantics and add or run tests for a 2-minute offset on a 5-minute interval; done means delayed evaluation checks the intended earlier window and alerts are not missed due to ingestion lag.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
Hi, I'm using ClickStack and occasionally run into alerts that are not fired when they should be. This has only happened a few times over the past couple of months.
I think it may be caused by a log arriving after its window has been evaluated -- while investigating I found the Start offset setting under Advanced Settings on the alert, its tooltip says "Delays the start of each evaluation window by this many minutes. Useful when data is ingested with a lag," which sounds like exactly what I need.
However, from reading the source (getScheduledWindowStart in packages/api/src/tasks/checkAlerts/index.ts), I don't think it does this. With a 2 minute offset on a 5 minute interval, it shifts the window to e.g. 09:02:00 AM - 09:07:00 AM, rather than evaluating 09:00:00 AM - 09:05:00 AM two minutes later.
If my understanding is correct, I'm happy to put up a PR so the offset acts as a real evaluation delay for ingestion lag, as the tooltip describes, but wanted to check, can someone confirm the current behaviour isn't intended for a particular use case?
Steps to reproduce
- Create a saved query.
- Create an alert from that query which fires at >= 1 occurrences per 5-minute window.
- Sometimes the alert will not fire.
How are you running HyperDX?
ClickHouse Cloud.
Logs
The log's timestamp is 2026-10-06T23:09:46.990000000Z, which is only about 13 seconds before the window closed, again supporting the theory that it landed after the window was evaluated.
However, the window is completely clear "OK" and no alert was ever sent.
The timestamp on the log is 2026-10-06T23:09:46.990000000Z, so getting "close" to the window.
- Ngôn ngữ chính
- TypeScript
- Star
- 10.1k
- Fork
- 527
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 186
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ClickHouse/ClickStack
-
external
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ClickHouse/ClickStack#3761 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Metric chart with aggFn increase and a multi-column group-by fails: toString() gets several argumentsCó thể đã có người làm @CG-5228 đã nhận 26 ngày trước. Đang mởexternal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/ClickStack#3477 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slack notifications for inline alerts fail when the chart-explorer link passes Slack's 3000-character block limitCó thể đã có người làm @Tyagiquamar đã nhận 27 ngày trước. Đang mởalerting bug external
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ClickHouse/ClickStack#3452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
check-alerts worker: 13 error spans (mongodb.create, NamespaceExists) every minute because mongoose autoCreate is still onCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug external Needs Feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ClickHouse/ClickStack#3308 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
count_distinct aggFn on metric tiles ignores valueExpression, always counts distinct metric ValuesCó thể đã có người làm @Harshul1484 đã nhận 54 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ClickHouse/ClickStack#2311 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ClickHouse/ClickStack
Issue tương tự
-
Add: GTrekkerĐang mởcheck:passed streams:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: ui Bug Payload OSS
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
payloadcms/payload#19839 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(auth): add the email OTP verification step to Pollar loginCó thể đã có người làm @akansnoro đã nhận hôm nay. Đang mởStellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
safetrustcr/dApp-SafeTrust#584 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The manager preset saves launch definitions without the required file and digest pairCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày