Browse Source

feat(perf_issues): Add option ui for post process group rollout (#39943)

Allow us to roll this out without having to bug ops
Dan Fuller 2 years ago
parent
commit
bf7efe79ff
2 changed files with 10 additions and 0 deletions
  1. 2 0
      static/app/views/admin/adminSettings.tsx
  2. 8 0
      static/app/views/admin/options.tsx

+ 2 - 0
static/app/views/admin/adminSettings.tsx

@@ -20,6 +20,7 @@ const optionsAvailable = [
   'performance.issues.all.problem-detection',
   'performance.issues.all.problem-creation',
   'performance.issues.all.early-adopter-rollout',
+  'performance.issues.all.post-process-group-early-adopter-rollout',
   'performance.issues.n_plus_one_db.problem-creation',
   'performance.issues.n_plus_one_db_ext.problem-creation',
   'performance.issues.n_plus_one_db.count_threshold',
@@ -102,6 +103,7 @@ export default class AdminSettings extends AsyncView<{}, State> {
               {fields['performance.issues.all.problem-detection']}
               {fields['performance.issues.all.problem-creation']}
               {fields['performance.issues.all.early-adopter-rollout']}
+              {fields['performance.issues.all.post-process-group-early-adopter-rollout']}
             </Panel>
             <Panel>
               <PanelHeader>Performance Issues - Detectors</PanelHeader>

+ 8 - 0
static/app/views/admin/options.tsx

@@ -86,6 +86,14 @@ const performanceOptionDefinitions: Field[] = [
     ),
     ...HIGH_THROUGHPUT_RATE_OPTION,
   },
+  {
+    key: 'performance.issues.all.post-process-group-early-adopter-rollout',
+    label: t('Performance issues post process group EA Rollout'),
+    help: t(
+      'Controls the rate at which performance issues sent through post process group for EA organizations.'
+    ),
+    ...HIGH_THROUGHPUT_RATE_OPTION,
+  },
   {
     key: 'performance.issues.n_plus_one.problem-detection',
     label: t('N+1 detection rate'),