From c2aa22c58cdf0f3b47134f2618b2e8f6f6dfe7f4 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sat, 27 Jul 2024 19:14:05 +0700 Subject: [PATCH] feat(normalization): register 'relay.span-normalization.allowed_hosts' option --- src/sentry/options/defaults.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sentry/options/defaults.py b/src/sentry/options/defaults.py index ac52210c2ab35..53ad236e0d116 100644 --- a/src/sentry/options/defaults.py +++ b/src/sentry/options/defaults.py @@ -475,6 +475,13 @@ flags=FLAG_AUTOMATOR_MODIFIABLE, ) +# Allow the Relay to skip normalization of spans for certain hosts. +register( + "relay.span-normalization.allowed_hosts", + default=[], + flags=FLAG_ALLOW_EMPTY | FLAG_AUTOMATOR_MODIFIABLE, +) + # Analytics register("analytics.backend", default="noop", flags=FLAG_NOSTORE) register("analytics.options", default={}, flags=FLAG_NOSTORE)