Skip to content

feat(aci): Update copy on metric alert wizard to refernce issue creation #109223

Merged
malwilley merged 1 commit intomasterfrom
malwilley/metric-alert-issue-copy
Feb 24, 2026
Merged

feat(aci): Update copy on metric alert wizard to refernce issue creation #109223
malwilley merged 1 commit intomasterfrom
malwilley/metric-alert-issue-copy

Conversation

@malwilley
Copy link
Copy Markdown
Member

…is on

When the workflow-engine-metric-issue-ui feature flag is enabled, update
the alert wizard panel descriptions to explain that alerts now create
issues with threshold-based creation, resolution, re-opening, and issue
priority. Applies to all metric alert types: errors, sessions,
performance, spans, and logs.

Co-Authored-By: Claude <[email protected]>
@malwilley malwilley requested a review from a team February 24, 2026 19:49
@malwilley malwilley requested a review from a team as a code owner February 24, 2026 19:49
@linear
Copy link
Copy Markdown

linear bot commented Feb 24, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 24, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

)
: t(
'Throughput is the total number of transactions in a project and you can alert when it reaches a threshold within a period of time.'
),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legacy transaction alert descriptions incorrectly reference "spans"

Medium Severity

The hasMetricIssues descriptions for legacy transaction-based alert types (throughput, trans_duration, failure_rate) incorrectly reference "spans" instead of "transactions." These alert types use Dataset.TRANSACTIONS and are shown when deprecateTransactionAlerts returns false, which is controlled by a separate feature flag (discover-saved-queries-deprecation) from hasMetricIssues (workflow-engine-metric-issue-ui). When hasMetricIssues is enabled but transaction alerts aren't deprecated, users see descriptions mentioning "spans" for transaction-based alerts, which is misleading.

Additional Locations (2)

Fix in Cursor Fix in Web

? tct(
"This alert creates issues when the percentage of crash sessions crosses your set thresholds. Setting thresholds will determine when an issue is [em:created], [em:resolved], and [em:re-opened], as well as the [em:issue priority]. A session begins when a user starts the application, and ends when it's closed or sent to the background. A crash is when a session ends due to an error. You will also be alerted when your set thresholds are crossed. This lets you get a better picture of the health of your app.",
{em: <em />}
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing "free" inverts crash-free sessions description meaning

Medium Severity

The crash_free_sessions hasMetricIssues description says "percentage of crash sessions" but the metric is CRASH_FREE_SESSIONS and the alert is named "Crash Free Session Rate." The word "free" is missing, making it sound like the alert tracks crash sessions rather than crash-free sessions — the opposite of what it measures. The sibling crash_free_users entry correctly says "percentage of crash free users," confirming this is an oversight.

Fix in Cursor Fix in Web

@malwilley malwilley merged commit cc0bbba into master Feb 24, 2026
63 checks passed
@malwilley malwilley deleted the malwilley/metric-alert-issue-copy branch February 24, 2026 20:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

claude-code-assisted Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants