Skip to content

erwinvandenbeld/four-key-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Four Key Cli

Clojure CI Clojure CI
Command Line Interface (CLI) to extract four-key-metrics from a GIT repository.

Usage

Lead Time for Changes

The amount of time it takes a commit to get into production

Calculates the average lead time for a given version. The version must correspond to a tag in git. For all commits between this tag, and the previous tag, the lead time is calculated by extracting the commit timestamp from the version timestamp.

For this metric to work production releases should be tagged in your repository e.g. using semver.

java -jar [uberjar filename] --path [repository path] lead-time --version [version tag name]

Release frequency

How often an organization successfully releases to production.

Calculates the number of GIT version tags for a given interval.

java -jar [uberjar filename] --path [repository path] release-frequency --since [Since (unix timestamp)] --until [Until (unix timestamp)]

Change Failure Rate

The percentage of deployments causing a failure in production

TODO

Time to Restore Services

How long it takes an organization to recover from a failure in production

About

Command Line Interface (CLI) to extract four-key-metrics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors