Skip to content

[Bug][Metric] The way to calculate Change Failure Rate is not accurate #4610

@Startrekzky

Description

@Startrekzky

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

The Change Failure Rate can be higher than 100%, which is confusing.
img_v2_a9038984-648d-4f1f-a544-ffd54d76b0fg

After I checked the doc, the current algorithm is defined as below.
img_v2_9d2bd9c1-a0b0-4cac-b487-fe0b64e7b11g

What do you expect to happen

We should define CFR as:

The number of changes(deployments) that causes failure(incidents) / The number of changes (deployments)

How to reproduce

Go to DORA dashboard and see the SQL of CFR

Anything else

No response

Version

main

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

type/bugThis issue is a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions