mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	feat: add plausibleMetrics feature flag (#10847)
This commit is contained in:
		
							parent
							
								
									ffa602239d
								
							
						
					
					
						commit
						b0f3252632
					
				@ -63,7 +63,8 @@ export type IFlagKey =
 | 
				
			|||||||
    | 'trafficBillingDisplay'
 | 
					    | 'trafficBillingDisplay'
 | 
				
			||||||
    | 'milestoneProgression'
 | 
					    | 'milestoneProgression'
 | 
				
			||||||
    | 'envAddStrategySuggestion'
 | 
					    | 'envAddStrategySuggestion'
 | 
				
			||||||
    | 'featureReleasePlans';
 | 
					    | 'featureReleasePlans'
 | 
				
			||||||
 | 
					    | 'plausibleMetrics';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
 | 
					export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -292,6 +293,10 @@ const flags: IFlags = {
 | 
				
			|||||||
        process.env.UNLEASH_EXPERIMENTAL_FEATURE_RELEASE_PLANS,
 | 
					        process.env.UNLEASH_EXPERIMENTAL_FEATURE_RELEASE_PLANS,
 | 
				
			||||||
        false,
 | 
					        false,
 | 
				
			||||||
    ),
 | 
					    ),
 | 
				
			||||||
 | 
					    plausibleMetrics: parseEnvVarBoolean(
 | 
				
			||||||
 | 
					        process.env.UNLEASH_EXPERIMENTAL_PLAUSIBLE_METRICS,
 | 
				
			||||||
 | 
					        false,
 | 
				
			||||||
 | 
					    ),
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
 | 
					export const defaultExperimentalOptions: IExperimentalOptions = {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user