Code Monkey home page Code Monkey logo

devops-metrics-action's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar shubham-elanco avatar stenjo avatar steoj avatar

Watchers

 avatar  avatar  avatar

Forkers

shubham-elanco

devops-metrics-action's Issues

feat(lead time): add option to count only feat and fix issues

When calculating lead-time, all PR's are counted - including release-please's chore(main): release x.x.x. These issues should maybe not be counted as they are automatic and does not really connect to delivery rate.

Suggest to add a feature that enables only features and fixes to be counted.

Calculate lead-time of issues

On Github projects it is feasible that the issues may be used as the source.
Have to calculate time from issue is started working on until closed and deployed in main.

feat: handle several repos

Some times issues managed by projects are created on more than one repo. Make sure action handles issues and releases on more than one repo.

Suggested format of input:

repo: ['repo1','repo2']
or

repo:
  - repo1
  - repo2

Add change failure rate

Simply count the issues marked as bug over the number of deploys
Number of bugs are all open + closed ones during the same period as deploys are counted

Fix change failure rate

Currently change failure rate counts bugs and divides by releases in same period. This is not accurate when a deploy causes several bugs. A failed deploy counts as one regardless of how many bugs it creates.

fix(issues): not all issues are fetched going back 1 month

When having a larger number of issues, all issues must be fetched in pages as the maximum delivered for one page is 100 issues.

gh api  -H "Accept: application/vnd.github+json"  \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  -XGET  /repos/stenjo/devops-metrics-action/issues -f state=all -f per_page=100 -f page=2

feat(deploy rate): add option to get list of issues/commits/releases that deploy frequency is based on

Rate of deploys (tagged releases) per week.
Decimal number. Elite performing teams has 5 as target (daily- or on-demand release)

The basis for this metric is the number of releases cretated last month, divided by 30/7, or more specificly:

Math.round(this.monthly() * 700) / 3000

Add option to get list of events (releases) this is based on, by setting LOGGING option to true, that enables a list output from action that can be uploaded for inspection.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.