Flag statuses
Read time: 3 minutes
Last edited: Jan 29, 2024
Overview
This topic explains what the different flag statuses are, and how to view them in the LaunchDarkly user interface (UI).
Using the flag status indicator
The flag status indicator lets you view when a flag is active or inactive. It's important to understand flag statuses so you know which flags are safe to remove from your code.
Every feature flag has a status that reflects the state of a flag in each environment.
For example, if the flag is listed as "Active" in your Production environment, LaunchDarkly is currently evaluating that flag using your Production SDK key.
Here is a screenshot of flag status indicators on the Feature flags list:
Flag status definitions
The various flag statuses are explained below:
For example, if you have configured a flag to serve only one variation, and make no configuration changes over a seven-day period, its status changes to "launched." If you do make configuration changes to the flag during that period, its status changes to "active."
If you are part of the engineering insights Early Access Program, be aware that engineering insights uses slightly different definitions on the flag health page.
In engineering insights, a "Launched" flag must be toggled on, all context instances must have been receiving one variation of the flag over the past seven days, and there must have been no changes to its configuration over the past seven days.
In engineering insights, an "Active" flag is one for which either some context instances have been receiving different variations of the flag, or it is toggled off, or there have been changes to its configuration in the past seven days.
To learn more, read Flag health.