You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Where `SENTRY_FEATURES` will correspond to the `SENTRY_FEATURES` from `step 2`.
174
174
Set it to `True` if you'd like the feature to be available and `False` if not.
175
175
176
-
## Flagr in development
176
+
###Flagr in development
177
177
178
178
In general, you do not need to run flagr in development to test your feature
179
179
flagging. If you do want to run flagr, you'll need to be running
@@ -185,7 +185,7 @@ flagging. If you do want to run flagr, you'll need to be running
185
185
Your local instance of flagr can be found at
186
186
[localhost:18000](http://localhost:18000/#/)
187
187
188
-
# Enabling your feature in production
188
+
##Enabling your feature in production
189
189
190
190
Feature flags are declared in Sentry's codebase. For self-hosted users, those
191
191
flags are then configured via `sentry.conf.py`. For Sentry's SaaS deployment,
@@ -241,7 +241,7 @@ must be matched for a feature to be enabled.
241
241
Represents the distribution of variants in a segment, because we'll only have
242
242
one variant this value should always be 100% for each segment.
243
243
244
-
## Creating a segment constraint
244
+
###Creating a segment constraint
245
245
246
246
When creating a segment, without the distribution set, Flagr will respond as if
247
247
the segment doesn't exist yet. This means that if you're creating or modifying a
@@ -382,14 +382,43 @@ your feature.
382
382
383
383
## After launch (Graduation)
384
384
385
-
After your feature has been mainlined and is available for all hosted customers:
385
+
After your feature has been mainlined and is available for all customers on
386
+
sentry.io, you have a few potential paths:
386
387
387
-
- If the feature cannot be disabled, or if no application specific overrides are required, remove the feature flag and all related checks from the Sentry code base. If necessary, also remove references to the feature from the [onpremise](https://github.com/getsentry/onpremise) and getsentry repositories.
388
-
- If the feature flag controls a behavior specific to Sentry SaaS, leave it disabled in Sentry and add appropriate feature handlers in getsentry (see below). In this case, keep in mind that the feature is also disabled during development.
389
-
- If the feature is generally available but is constrained to specific organizations or projects on Sentry SaaS, enable the feature by default in in [`conf/server.py`](https://github.com/getsentry/sentry/blob/master/src/sentry/conf/server.py) and add appropriate feature handlers in getsentry. This ensures that the feature is enabled in development and self-hosted Sentry installations.
390
-
- If the feature was enabled through flagr, delete the feature from the Flagr UI. This is done by navigating to the flag configuration page then clicking **Delete Flag** at the bottom of the page.
388
+
- If the feature cannot be disabled, or you don't need to conditionally disable
389
+
the feature, remove the feature flag and all related checks from the Sentry
390
+
code base. If necessary, also remove references to the feature from the
391
+
[onpremise](https://github.com/getsentry/onpremise) and getsentry
392
+
repositories.
393
+
- If the feature will only be available to SaaS customers on specific plans, you
394
+
need to add your feature flag to the appropriate plans and update feature
395
+
handlers (see below).You should also enable the feature by default in
0 commit comments