Skip to content

Repo for collecting and storing open source metrics.

Notifications You must be signed in to change notification settings

backstage/tempo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tempo

Repo for collecting and storing open source metrics.

Scripts

$ yarn generate

Generates the metrics for the entire Backstage org.

Args

  • --withAdopterList - Fetches and processes the adopter list
  • --withMetrics - Fetches and processes pull request and issue metrics
  • --commitChange - Commits the metric changes back to the repo, when omitted it runs in a dryrun mode.

Shape of metrics.json

{
    /**
     * List of the adopters taken from then
     * backstage/backstage/ADOPTERS.md file
     */
    namesOfAdopters: string[];
    /**
     * List of contributors that have either
     * submitted a pull request or opened
     * an issue.
     */
    namesOfContributors: string[];
    /**
     * List of new contributors that have either
     * submitted a pull request or opened
     * an issue.
     */
    namesOfContributorsNew: string[];
    /**
     * Number of pull requests in the last
     * month
     */
    numberOfPullRequestNew: number;
    /**
     * p50 number of new pull requests
     * submitted every week
     */
    p50NumberOfPullsPerWeek: number;
    /**
     * p50 number of new contributors
     * every week.
     */
    p50NumberOfNewContributorsPerWeek: number;
    /**
     * p50 of the time pull requests in the
     * last 30 days have been opened to the
     * time they were closed.
     */
    p50SecondsToClosePulls: number;
    /**
     * p50 of the time issues in the
     * last 30 days have been opened to the
     * time they were closed.
     */
    p50SecondsToCloseIssues: number;
    /**
     * mean number of new pull requests
     * submitted every week
     */
    meanNumberOfPullsPerWeek: number;
    /**
     * mean number of new contributors
     * every week.
     */
    meanNumberOfNewContributorsPerWeek: number;
    /**
     * mean of the time pull requests in the
     * last 30 days have been opened to the
     * time they were closed.
     */
    meanSecondsToClosePulls: number;
    /**
     * mean of the time issues in the
     * last 30 days have been opened to the
     * time they were closed.
     */
    meanSecondsToCloseIssues: number;
}

About

Repo for collecting and storing open source metrics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published