1
0
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:
Jaanus Sellin 2025-10-23 10:42:12 +03:00 committed by GitHub
parent ffa602239d
commit b0f3252632
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,8 @@ export type IFlagKey =
| 'trafficBillingDisplay'
| 'milestoneProgression'
| 'envAddStrategySuggestion'
| 'featureReleasePlans';
| 'featureReleasePlans'
| 'plausibleMetrics';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -292,6 +293,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_FEATURE_RELEASE_PLANS,
false,
),
plausibleMetrics: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_PLAUSIBLE_METRICS,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {