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

    EDIT ON GITHUB

    Flag coverage

    Read time: 2 minutes
    Last edited: Jan 13, 2023
    This feature is for Early Access Program customers only

    Accelerate is only available to members of LaunchDarkly's Early Access Program (EAP). If you want access to this feature, join the EAP.

    Overview

    This topic explains how to use LaunchDarkly's flag coverage metric view.

    Accelerate defines flag coverage as the ratio of pull requests (PRs) that contain flag references to the total number of PRs for the selected applications. Flag coverage can be a useful way to measure flag adoption over time or across applications.

    Understanding the flag coverage summary

    The flag coverage summary includes the following information:

    • Percentage of PRs that include flag references
    • Total PRs that include flag references
    • Total PRs that do not include flag references
    The flag coverage summary.
    The flag coverage summary.

    You can use the selection menus to narrow your view to a specific LaunchDarkly project or environment. You can also change the time period to display the last 7, 14, or 28 days, or a custom range.

    Reading the flag references chart

    The pull requests with flag references chart tracks the number of PRs containing flag references as well as the number of PRs that do not contain any flag references. Hover on a data point on the flag coverage chart to display the number of PRs with and without flag references for that date.

    The pull requests with flag references chart.
    The pull requests with flag references chart.

    Using the pull requests list

    The pull requests list shows information about PRs in your Github organization and what flags, if any, are affected by them. The list populates automatically in order of most recent PR.

    The PR list.
    The PR list.

    You can use the search and filter options to refine this list into a different subset of PRs. Search by PR title, PR number, or PR author. The filter menu lets you show all PRs, or only those that do or do not affect feature flags.

    The filter menu, expanded to show all configuration options.
    The filter menu, expanded to show all configuration options.

    Columns in the pull request list

    Here's how to read the columns in the PR list:

    The "Pull request" column shows information about a PR, including its merge status, author, and a diff summary of changed lines.

    Hover over an environment in the "Deployed to" field to display details about when you deployed the PR from that application to that environment.

    A cell in the "Deployed to" field, with hover state details displayed.
    A cell in the "Deployed to" field, with hover state details displayed.

    The "PR lifespan" column shows how much time elapsed between a PR being opened and being merged. PRs that are closed without merging do not appear in this list.

    A pull request with the cell in the "PR lifespan" column called out.
    A pull request with the cell in the "PR lifespan" column called out.

    The "Flags" column shows if any feature flags are affected by a PR. Hover over an updated flag to display which flags were affected. You can click any flag name to open the flag's "Targeting" page.

    A cell in the "Flags" column, with hover state details displayed.
    A cell in the "Flags" column, with hover state details displayed.