Browse Source

feat(metrics): Add new option to enable dual writing from new cache schema for indexer (#58413)

John 1 year ago
parent
commit
19160f12c1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/sentry/options/defaults.py

+ 7 - 0
src/sentry/options/defaults.py

@@ -994,6 +994,13 @@ register(
     flags=FLAG_AUTOMATOR_MODIFIABLE,
 )
 
+# An option to enable writing from the new schema for the caching indexer
+register(
+    "sentry-metrics.indexer.write-new-cache-namespace",
+    default=False,
+    flags=FLAG_AUTOMATOR_MODIFIABLE,
+)
+
 # Global and per-organization limits on the writes to the string indexer's DB.
 #
 # Format is a list of dictionaries of format {