getsentry / getsentry/sentry

Add stacktrace.function to alerting condition filters

Open
#47,111 5 comments 1 reaction 0 assignees View on GitHub
Product Area: Alerts Sync: Jira
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

### Problem Statement

Currently, Alerts have the following stacktrace options:
stacktrace.code
Stacktrace.module
stacktrace.package
stacktrace.filename
and etc.

What the user needs in alerts conditions is stacktrace.function.
Example: I can search for: "stack.function:*customviews::SentryView*", and they would like to create an alert based on that search.

The current workaround is to create alerts based on stacktrace.package xyz, which produces too many unrelated alerts that are not useful. Stacktrace.function alerts (once added) can then be directed to specific team and specific developers that are responsible for that part of the code if that function produces crashes.

Screenshot 2023-04-10 at 9 40 27 AM

### Solution Brainstorm

Make stacktrace.function available as an event attribute that you can filter on when configuring alerts

┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-1805) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.