Skip to content

Metric alert "is not archived" filter didn't exclude events from archived issue #118980

Description

@dalnoki

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

A metric alert configured with level is not warning + is not archived fired on events belonging to an issue that had been continuously archived (via "Archive until it affects 10 user(s)") for ~17 hours before the alert's evaluation window even began. This was observed once in a customer's org; internal testing with the same filter and default archiving behaved as expected.

Please see actual links in the Linear issue.

Expected Result

Events from an archived issue should be excluded by is not archived for the duration it remains archived.

Actual Result

The alert fired and counted events from an issue that was archived for the entire evaluation window.

Product Area

Alerts

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions