Skip to content

Commit 9ee245d

Browse files
authored
chore(similarity): Add killswitches for each feature flag (#74274)
Add killswitches for each feature flag since these are now managed in feature handlers in getsentry We will check the killswitch in the feature handler so we can turn off the feature faster
1 parent 5a9f327 commit 9ee245d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/sentry/options/defaults.py

+24
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,30 @@
824824
type=Bool,
825825
flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE,
826826
)
827+
register(
828+
"seer.similarity-embeddings-killswitch.enabled",
829+
default=False,
830+
type=Bool,
831+
flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE,
832+
)
833+
register(
834+
"seer.similarity-embeddings-grouping-killswitch.enabled",
835+
default=False,
836+
type=Bool,
837+
flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE,
838+
)
839+
register(
840+
"seer.similarity-embeddings-metadata-killswitch.enabled",
841+
default=False,
842+
type=Bool,
843+
flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE,
844+
)
845+
register(
846+
"seer.similarity-embeddings-delete-by-hash-killswitch.enabled",
847+
default=False,
848+
type=Bool,
849+
flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE,
850+
)
827851
register(
828852
"seer.severity-killswitch.enabled",
829853
default=False,

0 commit comments

Comments
 (0)