123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import {Experiments, ExperimentType} from 'sentry/types/experiments';
- export const unassignedValue = -1;
- export const experimentList = [
- {
- key: 'MetricAlertBannerExperiment',
- type: ExperimentType.Organization,
- parameter: 'exposed',
- assignments: [0, 1],
- },
- {
- key: 'MetricAlertPresetExperiment',
- type: ExperimentType.Organization,
- parameter: 'exposed',
- assignments: [0, 1],
- },
- {
- key: 'VitalsAlertExperiment',
- type: ExperimentType.Organization,
- parameter: 'exposed',
- assignments: [0, 1],
- },
- {
- key: 'MetricAlertOnProjectCreationExperiment',
- type: ExperimentType.Organization,
- parameter: 'exposed',
- assignments: [0, 1],
- },
- {
- key: 'OnboardingHighlightWizardExperiment',
- type: ExperimentType.Organization,
- parameter: 'exposed',
- assignments: [0, 1],
- },
- ] as const;
- export const experimentConfig = experimentList.reduce(
- (acc, exp) => ({...acc, [exp.key]: exp}),
- {}
- ) as Experiments;
|