Skip to content

Commit 03c4839

Browse files
authored
feat(feedback): add option for ingesting feedback+attachments in same envelope (#69351)
Needed for getsentry/relay#3403 For relay, using an option is way simpler than a FF. This option will also be used to test separating the logic for producing feedbacks (`user_report_v2`'s in `store.rs`)
1 parent d753c32 commit 03c4839

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/sentry/options/defaults.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,12 @@
470470
default=0.0,
471471
flags=FLAG_AUTOMATOR_MODIFIABLE,
472472
)
473+
# Separate the logic for producing feedbacks from generic events, and handle attachments in the same envelope
474+
register(
475+
"feedback.ingest-inline-attachments",
476+
default=False,
477+
flags=FLAG_AUTOMATOR_MODIFIABLE,
478+
)
473479

474480
# Extract spans only from a random fraction of transactions.
475481
#

src/sentry/relay/globalconfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"relay.metric-bucket-distribution-encodings",
1919
"relay.metric-stats.rollout-rate",
2020
"feedback.ingest-topic.rollout-rate",
21+
"feedback.ingest-inline-attachments",
2122
"relay.span-extraction.sample-rate",
2223
]
2324

0 commit comments

Comments
 (0)