Skip to content

Commit 569ea40

Browse files
vigliaJesse-Box
authored andcommitted
chore(profiling): remove stack trace rules ff (#103032)
1 parent 5d735fc commit 569ea40

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/sentry/profiles/task.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,13 @@ def process_profile_task(
235235
set_span_attribute("profile.stacks.processed", len(profile["profile"]["stacks"]))
236236
set_span_attribute("profile.frames.processed", len(profile["profile"]["frames"]))
237237

238-
if options.get("profiling.stack_trace_rules.enabled"):
239-
try:
240-
with metrics.timer("process_profile.apply_stack_trace_rules"):
241-
rules_config = project.get_option("sentry:grouping_enhancements")
242-
if rules_config is not None and rules_config != "":
243-
apply_stack_trace_rules_to_profile(profile, rules_config)
244-
except Exception as e:
245-
sentry_sdk.capture_exception(e)
238+
try:
239+
with metrics.timer("process_profile.apply_stack_trace_rules"):
240+
rules_config = project.get_option("sentry:grouping_enhancements")
241+
if rules_config is not None and rules_config != "":
242+
apply_stack_trace_rules_to_profile(profile, rules_config)
243+
except Exception as e:
244+
sentry_sdk.capture_exception(e)
246245

247246
if not _process_vroomrs_profile(profile, project):
248247
return

0 commit comments

Comments
 (0)