Browse Source

chore(issue-platform): introduce flag to enable consuming search issue occurence data in snuba (#42268)

Gilbert Szeto 2 years ago
parent
commit
8124b516de
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/sentry/conf/server.py

+ 7 - 0
src/sentry/conf/server.py

@@ -1902,6 +1902,10 @@ SENTRY_USE_CDC_DEV = False
 # This flag activates profiling backend in the development environment
 SENTRY_USE_PROFILING = False
 
+# This flag activates consuming issue platform occurrence data in the development environment
+SENTRY_USE_ISSUE_OCCURRENCE = False
+
+
 # This flag activates code paths that are specific for customer domains
 SENTRY_USE_CUSTOMER_DOMAINS = False
 
@@ -2066,6 +2070,9 @@ SENTRY_DEVSERVICES = {
                 "REDIS_DB": "1",
                 "ENABLE_SENTRY_METRICS_DEV": "1" if settings.SENTRY_USE_METRICS_DEV else "",
                 "ENABLE_PROFILES_CONSUMER": "1" if settings.SENTRY_USE_PROFILING else "",
+                "ENABLE_ISSUE_OCCURRENCE_CONSUMER": "1"
+                if settings.SENTRY_USE_ISSUE_OCCURRENCE
+                else "",
             },
             "only_if": "snuba" in settings.SENTRY_EVENTSTREAM
             or "kafka" in settings.SENTRY_EVENTSTREAM,