What is CFR?

CFR - Change Failure Rate

CFR is a metric that represents the percentage of deployments causing a failure in production. LinearB calculates this metric based on the number of "production incidents" defined in your project management tool divided by the number of deployments.

You can view CFR in your Metrics page under DORA Metrics.

How to Customize your CFR Calculation

Project Management Boards

By default, LinearB includes bugs with priority highest as production incidents in this metric. LinearB customers have the option to define what is a production bug under Company settings -> Project Management -> Incidents. You can filter the relevant issues to be included in your CFR calculation by the following filters:

  • Issue Types
  • Labels
  • Field Values

To configure the filter, open the CFR Rule Builder and click Add Condition. Once your critical bug conditions are configured and saved, you can review the logic used to define critical bugs:

Customize CFR Start Time

By default, LinearB uses the time of a production failure when the reporting issue is set to "In Progress". You can use a custom date field on your PM Issue using the dropdown labeled "Incident Validation".

When updating the configuration, LinearB re-runs the calculation for the CFR Metric. See the image below. It can take up to 2 hours for changes to take effect.

Incident API

LinearB's Incident API can be used to report change failure instances from any project management platform. Learn more about utilizing LinearB's Incident API here:

Viewing CFR by Team

LinearB can also calculate team-based CFR. The calculation is represents a roll-up of Team Incidents and CFR.

To ensure the correct incidents are mapped to your teams, go to Team Settings -> Projects and verify that your team is associated with the correct project management boards.


How did we do?


Powered by HelpDocs (opens in a new tab)