mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
chore: add flag paygInstanceStatsEvents (#10356)
https://linear.app/unleash/issue/2-3697/add-flag-payginstancestatsevents Adds a new flag: `paygInstanceStatsEvents` This controls sending the daily PAYG instance stats events.
This commit is contained in:
parent
3d78fbea7f
commit
7910aa9130
@ -64,7 +64,8 @@ export type IFlagKey =
|
|||||||
| 'crDiffView'
|
| 'crDiffView'
|
||||||
| 'changeRequestApproverEmails'
|
| 'changeRequestApproverEmails'
|
||||||
| 'paygTrialEvents'
|
| 'paygTrialEvents'
|
||||||
| 'eventGrouping';
|
| 'eventGrouping'
|
||||||
|
| 'paygInstanceStatsEvents';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -297,6 +298,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_PAYG_TRIAL_EVENTS,
|
process.env.UNLEASH_EXPERIMENTAL_PAYG_TRIAL_EVENTS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
paygInstanceStatsEvents: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_PAYG_INSTANCE_STATS_EVENTS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user