never receive alerts configured for "Number of events in an issue is more than x in y"
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
調査の方向性
ソースファイル、テスト、エントリーポイントは指定されていません。まず、「Number of events in an issue is more than x in y」ルールを使用した self-hosted セットアップで失敗を再現し、次に、正常に動作する new-issue alert および preview panel とその動作を比較してください。後続のしきい値イベントが、設定された webhook alert をトリガーして配信し、それに応じて最終トリガー時刻が更新されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Peeling off this comment from @maxkerp in https://github.com/getsentry/sentry/issues/116677
We are experiencing a very similar behavior on our self-hosted setup, specifically regarding alert rules failing to execute actions after the initial issue creation.
Our Environment
- Type: Self-hosted Sentry (managed by a professional third-party hosting service).
- Integration: Custom integration handling alert webhooks to route notifications into Mattermost.
- Versions: This setup worked perfectly until our upgrade to v26.4.2 (the April update). Upgrading further to v26.6.6 did not resolve the issue.
Observed Facts
What works
- "Send Test Notification" always worked and never broke.
installationwebhook events are also reliably delivered.- Alerts configured for "A new issue is created" trigger and deliver successfully on the first event.
What is broken
- We never receive alerts configured for "Number of events in an issue is more than x in y".
After the first event creates the issue, no subsequent volume or frequency thresholds trigger an alert for that issue again.
UI & Metadata Observations
- "Time Last Triggered": The alert rule is never shown to be triggered beyond the initial creation event. The "time last triggered" field in the Sentry UI only ever reflects the timestamp of that very first event.
- Preview Panel: Despite the alert never firing, the preview panel within the alert configuration page does correctly display the newer events that meet the criteria and should be triggering the alert.
The fact that the docs for webhooks are out of date made this harder to debug than necessary #18370
Since the preview and the triggering logic is diverging maybe related to #118216p.s. I had ai help me write this comment. But I'm a real person. Please reach out if you need more information/context. Thanks for your work! ❤️
Originally posted by @maxkerp in #116677
- 主要言語
- Shell
- スター
- 9.7k
- フォーク
- 2k
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/self-hosted のほかの issue
-
Waiting for: Product Owner
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/self-hosted#4644 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
getsentry/self-hosted#4518 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Waiting for: Product Owner
難易度 3/5 1〜2日 初心者へのやさしさ 73/100
getsentry/self-hosted#4642 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Waiting for: Community
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
getsentry/self-hosted#4637 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Waiting for: Product Owner
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
getsentry/self-hosted#4634 ·
メンテナーはふだん 2 日以内に返信
getsentry/self-hosted の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ajithakdev/claude-desktop-rpm#43 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
aws/aws-networking-best-practices#256 ·
メンテナーはふだん 2 日以内に返信
-
area:terraform source:reader type:content-error
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
stephrobert/blog-roadmap#268 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100