getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.19k stars 4.2k forks source link

Latest Alerts (via Project Details) inaccurate, not syncing with actual Alert Status #74970

Open kpujjigit opened 3 months ago

kpujjigit commented 3 months ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Configure Metric Alert
  2. Add an alert rule Action (to notify PagerDuty, in this case)
  3. Remove alert rule Action (after 1hr, in this case)
  4. Allow Metric Alert to fire

Expected Result

Alert Status, List of Recent Alerts, Latest Alerts should appear in-sync

Actual Result

I'm seeing an issue where some alerts seem to be stuck as triggered on the Project Details page. When you click into the alerts the Alert Status is Resolved.

Image

Image

Product Area

Projects - Project Details

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 3 months ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 3 months ago

Routing to @getsentry/product-owners-projects-project-details for triage ⏲️

getsantry[bot] commented 3 months ago

Routing to @getsentry/product-owners-alerts for triage ⏲️

ceorourke commented 3 months ago

Is this only reproducible in alerts that recently had an action removed? Was it the only action on the rule? Are there 3 different alert rules here that are titled beginning with "Percent threshold change in n.."? Which one was clicked on? The screenshot shows it isn't resolved, so I'm confused.

kpujjigit commented 3 months ago

Is this only reproducible in alerts that recently had an action removed? Was it the only action on the rule? Are there 3 different alert rules here that are titled beginning with "Percent threshold change in n.."? Which one was clicked on? The screenshot shows it isn't resolved, so I'm confused.

Hi @ceorourke - internally I couldn't seem to reproduce this. There was only a single PagerDuty action added that was promptly removed. There is only one Alert with the name in-question.

ceorourke commented 3 months ago

If it's not reproducible can the user just delete and re-create the rule, or is there a consistent problem with it?