Alerts are sometimes not being fired when the logs meet the threshold criteria.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- clickhouse, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 10k
- フォーク
- 494
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 153
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperdxio/hyperdx のほかの issue
-
external
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Slack notifications for inline alerts fail when the chart-explorer link passes Slack's 3000-character block limit対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンalerting bug external
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug external Needs Feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hyperdxio/hyperdx#3308 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
external
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
hyperdxio/hyperdx の issue をすべて見る
似ている issue
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --display対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
pingdotgg/t3code#24900 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
inu-appcenter/UNIDorm-web#411 ·
メンテナーはふだん 1 日以内に返信
-
🐛 bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ranxianglei/billion-context#4720 ·
メンテナーはふだん 1 日以内に返信
-
area:arcade game p3-medium ready-for-agent type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fderuiter/deruiter.dev#2840 ·
メンテナーはふだん 1 日以内に返信