Browse Source

feat(perf-issues): Switch project-option creation to 1.0 (#38768)

This will set the default for projects to automatically create all
performance-issues.

Primary control of issue creation switches to system-options instead.

Needs #38767
Kev 2 years ago
parent
commit
c79deda08c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/sentry/projectoptions/defaults.py

+ 3 - 2
src/sentry/projectoptions/defaults.py

@@ -90,8 +90,9 @@ register(key="sentry:transaction_metrics_custom_tags", epoch_defaults={1: []})
 # Default span attributes config
 register(key="sentry:span_attributes", epoch_defaults={1: ["exclusive-time"]})
 
-# Rate at which performance issues are created per project. Defaults to off (rate of 0.0)
-register(key="sentry:performance_issue_creation_rate", default=0.0)
+# Rate at which performance issues are created per project. Defaults to on (rate of 1.0), system flags and options will determine if an organization creates issues.
+# Can be used to turn off a projects detection for users if there is a project-specific issue.
+register(key="sentry:performance_issue_creation_rate", default=1.0)
 
 # A dict containing all the specific detection thresholds and rates.
 register(