Alert rule for "New Issue Created" is not triggered immediately.

オープン
#4,248 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
kubernetes
領域
observability

調査の方向性

Kubernetes デプロイメントと、報告された "created" webhook サブスクリプションおよびアラートルールを使用して、セルフホスト型 Sentry 25.5.1 で動作を再現します。最初の issue イベントによってトリガーされるアラートと webhook の処理を追跡し、その後の別の issue に対するイベントを必要とせず、両方の通知が直ちに送信されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Steps to Reproduce

Hi, I have Sentry deployed in k8s using https://github.com/sentry-kubernetes/charts, and for an alert to be sent when a new Issue created I need to create an Issue (1 event in it) and send another event to any Issue - only then will the alert be sent.
I have a custom WebHook Integration with subscribe to "created":

Image

Also i have alert rule:

Image

And their behavior is equally incorrect.
Previously i have a version 25.3.0, upgrading to 25.5.1 not solve the problem.

Expected Result

An alert is sent immediately after an Issue is created (1 event).

Actual Result

An alert is sent only after an event has been sent for any Issue.

Product Area

Alerts

Link

No response

DSN

No response

Version

25.5.1

主要言語
Shell
スター
9.7k
フォーク
2k
平均マージ
3日 2時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/self-hosted のほかの issue

getsentry/self-hosted の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。