Skip to content

Commit d0bea1a

Browse files
Revert "chore(profiling): remove profiling.stack_trace_rules.allowed_project_ids option (#81903)"
This reverts commit 8827d06. Co-authored-by: armenzg <[email protected]>
1 parent f8dbf86 commit d0bea1a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/sentry/options/defaults.py

+9
Original file line numberDiff line numberDiff line change
@@ -2916,6 +2916,15 @@
29162916
flags=FLAG_AUTOMATOR_MODIFIABLE,
29172917
)
29182918

2919+
# list of project IDs for which we'll apply
2920+
# stack trace rules to the profiles in case
2921+
# there are any rules defined
2922+
register(
2923+
"profiling.stack_trace_rules.allowed_project_ids",
2924+
type=Sequence,
2925+
default=[],
2926+
flags=FLAG_ALLOW_EMPTY | FLAG_AUTOMATOR_MODIFIABLE,
2927+
)
29192928
register(
29202929
"performance.event-tracker.sample-rate.transactions",
29212930
default=0.0,

0 commit comments

Comments
 (0)