never receive alerts configured for "Number of events in an issue is more than x in y"

Aperta
#4,385 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva

Direzione di ricerca

Non sono indicati file sorgente, test o punti di ingresso. Inizia riproducendo il problema con una configurazione self-hosted usando la regola “Number of events in an issue is more than x in y”, quindi confronta il suo comportamento con il new-issue alert e il preview panel funzionanti. Il lavoro è completato quando gli eventi successivi che raggiungono la soglia attivano e consegnano il webhook alert configurato e l’ora dell’ultima attivazione viene aggiornata di conseguenza.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Waiting for: Product Owner

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.
  • installation webhook 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 #118216

p.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

Lingua principale
Shell
Stelle
9.7k
Fork
2k
Merge medio
3g 2h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/self-hosted

Tutte le issue di getsentry/self-hosted

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.