Skip to content

Metric Alert Creation Broken for Certain Queries #71788

@jangjodi

Description

@jangjodi

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create a metric alert
  2. In 'Filter events', add is:unresolved and error.handled:<bool>
  3. Notice the error message: Internal error. Your query failed to run (in the "Number of Errors" graph and popup)
  4. Unable to save metric alert due to this error

Expected Result

  • There should not be an error message for this query
  • The "Number of Errors" graph should render as expected
  • Should be able to save the metric alert

Actual Result

  • Error message: Internal error. Your query failed to run appears in "Number of Errors" graph and popup
Screenshot 2024-05-30 at 1 58 53 PM
  • Unable to save metric alert
Screenshot 2024-05-30 at 2 00 05 PM

Tracked by this sentry issue: https://sentry.sentry.io/issues/4973748508/?project=-1&referrer=issue-stream&statsPeriod=90d&stream_index=1
From this GH comment on related issue

Product Area

Alerts

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions