FF - Add "Domain" as Bucketing Attribute for Percentage Rollout
C
Cute Silverfish
Add "domain" as an available attribute option in the "Bucket targets by" dropdown for percentage rollout variations in Feature Flags.
Current Behavior:
The percentage rollout feature currently supports bucketing by the following target attributes:
- Identifier (default)
- Name
- location
These options appear in:
- The "Bucket targets by" dropdown in the flag variation configuration
- The Target Group Criteria modal when defining targeting rules
Desired Behavior: Add "domain" as an additional bucketing option alongside the existing attributes (Identifier, Name, location).
Use Case: Many organizations structure their targeting based on domain/tenant identifiers, especially in multi-tenant SaaS applications. Being able to bucket by domain would enable:
Consistent Feature Distribution Across Tenants: Ensure all users within a specific domain/tenant receive the same variation, which is critical for B2B SaaS applications where feature consistency within an organization is important.
Domain-Level Progressive Rollouts: Gradually roll out features to different customer domains/organizations rather than individual users, reducing risk and simplifying rollback scenarios.
Better Alignment with Business Structure: Many enterprise customers are organized by domain/tenant, making this a more natural bucketing dimension than individual user identifiers.
Example Scenario:
A SaaS platform wants to roll out a new dashboard feature to 30% of customer organizations (domains) rather than 30% of individual users. With domain-based bucketing, all users within selected domains would see the new feature, while all users in other domains would see the existing version.
Benefits:
- More flexible targeting options for multi-tenant applications
- Better control over feature consistency within organizations
- Reduced complexity in managing feature rollouts for B2B scenarios
- Improved customer experience by ensuring organizational consistency
Log In