Skip to content

FlagDiligence docs

User guide

A walk through the dashboard, for the people who run releases.

The dashboard

AreaWhat it is for
DashboardAn overview of your projects and recent activity.
ProjectsThe flags for each application.
SegmentsReusable groups of users.
SettingsOrganization, members, environments and SDK keys.
Audit logsA record of every change and who made it.

Organizations and people

Create an organization with a name, a URL-friendly slug and an optional description. Invite people from Settings, Organization with their email address and a role.

ActionOwnerAdminMemberViewer
View flagsYesYesYesYes
Create and toggle flagsYesYesYesNo
Delete flagsYesYesNoNo
Manage environmentsYesYesNoNo
Manage membersYesYesNoNo
Delete the organizationYesNoNoNo

Projects and environments

A new project comes with Development, Staging and Production. To add another, such as QA, go to Project settings, Environments, Add environment and give it a name, key and colour. From the same screen you can view or regenerate an environment’s SDK keys. Regenerating invalidates the old key at once.

Working with flags

  1. CreateChoose Create flag, then name, key, type and description.
  2. ToggleUse the switch on the flag card. It changes the environment you are viewing only.
  3. ConfigureOpen the flag and the environment tab to set on and off variations and the rollout percentage.
  4. TargetAdd rules for specific users or segments.
  5. ArchiveWhen a feature is fully released and the code is cleaned up, archive the flag. You can restore it later.

Rollout percentage

Set 0 to 100 percent per environment. 0 shows the feature to nobody, 100 to everybody. A given user always gets the same result until you change the number.

RiskA reasonable pace
Low25%, 50%, then 100% over a few days
Medium5%, 20%, 50%, then 100% over about two weeks
High1%, 5%, 15%, 30%, 50%, then 100% over about four weeks

These are starting points, not rules. Pause at each step and look at your error rates and key metrics before going further.

Audit logs

Every change is recorded with the time, the person, the action (create, update, delete, toggle, archive or restore), what changed, the before and after values, and the environment. You can filter by date, user, action, entity and environment. When something behaves differently from yesterday, start here.

Good habits

  • Name keys in lower case with underscores, and describe the purpose: new_checkout_flow, not flag1.
  • Give every flag an owner and a planned removal date.
  • Test both the on and off states in Staging.
  • Keep a flag’s life short: create, test, release gradually, reach 100%, remove the flag from code, archive, then delete after a retention period.
  • Use a flag as a kill switch for risky releases so you can turn the feature off without a deployment.

Glossary

TermMeaning
Feature flagA switch that controls whether a feature is available.
VariationA value a flag can return.
Targeting ruleA condition that decides which variation a user gets.
SegmentA reusable group of users.
Rollout percentageThe share of users who see a feature.
Kill switchTurning a flag off quickly to stop a problem.

Troubleshooting →

Need help with FlagDiligence?

Open the app, or tell us what you are trying to do.