• Home
  • Integrations
  • SDKs
  • Guides
  • API docs
    No results for ""
    EXPAND ALL

    EDIT ON GITHUB

    Flag statuses

    Read time: 1 minute
    Last edited: Mar 07, 2023

    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 receiving requests for that flag using your Production SDK key.

    Here is a screenshot of flag status indicators on the Feature flags list:

    The "Feature flags" list with flag status indicators called out.
    The "Feature flags" list with flag status indicators called out.

    The various flag statuses are explained below:

    Status typeNameDefinition
    flag status indicator new NewYou created the flag fewer than seven days ago and it has never been requested.
    flag status indicator active ActiveLaunchDarkly is receiving requests for this flag.
    flag status indicator launched LaunchedThe launched icon appears when all context instances have been receiving one variation of this flag, with no configuration changes, for seven days or more. This includes the off variation.
    This is calculated by tracking flag evaluations and configuration changes over a seven-day period. For example, if a flag is evaluated and returns the same variation each time to everyone who evaluates it in a seven-day period, and no configuration changes are made to the flag during that period, its status changes to "launched."
    You may be able to remove this flag from your code.
    flag status indicator inactive InactiveThe flag has not been requested for at least seven days.
    You may be able to remove this flag from your code.