The experiment lifecycle
Read time: 2 minutes
Last edited: Mar 16, 2020
This topic explains how to start recording data in an experiment and pause the experiment when you're finished.
Experiments do not start collecting data automatically. When you have a new experiment you're ready to run, you must press the Start Recording on the experiment itself.
The Start Recording button only applies to the experiment in that specific environment. If you wish to run the same experiment in multiple environments, you must press the Start Recording button on each experiment in each environment. This behavior prevents you from being billed for events you don't want to track.
To learn more about creating an experiment, read Creating experiments.
After you start your experiment, you can check on it at any time in the flag's Experiments tab. Experiment data appears in the Experiments page after a few minutes. You may have to refresh the page to fetch new data for your experiment.
If you've discovered a winning variation, or decided to stop running the experiment for some other reason, you can stop collecting events by clicking Pause experiment on any running experiment.
You can pause an experiment at any time. Just like the start button, the pause button only impacts one experiment in one environment. If you wish to stop collecting data from every instance of an experiment, you must pause each experiment in each environment individually.
When you pause an experiment, LaunchDarkly stops collecting data about user behavior for that experiment. The data that was already collected for that experiment is still available, however, in the Experiments screen.
Pausing an experiment is not the same as deleting an experiment. As a best practice, we recommend pausing experiments you're not using, rather than deleting them. This lets you retain the results and data the experiment has already collected.
If you want to start a paused experiment, click Resume recording. Resumed experiments begin collecting event data again and their charts update with new information.
You can delete an experiment permanently from the flag's Experiments page.
To delete an experiment:
- Navigate to a flag's Experiments tab and find the experiment you wish to delete.
- Click the 3-dot menu icon. A dropdown menu appears.
- Click Delete experiment across environments.