mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-27 01:19:00 +02:00
chore: add lifecycleMetrics flag definition (#10033)
Adds the new lifecycleMetrics flag.
This commit is contained in:
parent
290ef6ca40
commit
092c525531
@ -92,6 +92,7 @@ export type UiFlags = {
|
|||||||
featureLinks?: boolean;
|
featureLinks?: boolean;
|
||||||
projectLinkTemplates?: boolean;
|
projectLinkTemplates?: boolean;
|
||||||
customMetrics?: boolean;
|
customMetrics?: boolean;
|
||||||
|
lifecycleMetrics?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -65,6 +65,7 @@ export type IFlagKey =
|
|||||||
| 'reportUnknownFlags'
|
| 'reportUnknownFlags'
|
||||||
| 'lastSeenBulkQuery'
|
| 'lastSeenBulkQuery'
|
||||||
| 'newGettingStartedEmail'
|
| 'newGettingStartedEmail'
|
||||||
|
| 'lifecycleMetrics'
|
||||||
| 'customMetrics';
|
| 'customMetrics';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
@ -307,6 +308,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_NEW_GETTING_STARTED_EMAIL,
|
process.env.UNLEASH_EXPERIMENTAL_NEW_GETTING_STARTED_EMAIL,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
lifecycleMetrics: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_LIFECYCLE_METRICS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -58,6 +58,7 @@ process.nextTick(async () => {
|
|||||||
projectLinkTemplates: true,
|
projectLinkTemplates: true,
|
||||||
reportUnknownFlags: true,
|
reportUnknownFlags: true,
|
||||||
customMetrics: true,
|
customMetrics: true,
|
||||||
|
lifecycleMetrics: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user