Skip to content

Commit aa06c15

Browse files
author
Eric Sorenson
committed
Add info about new Repository metrics
This adds more information about the (still in progress) metrics on Repository for project health.
1 parent 02d7b22 commit aa06c15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/open-source-health-metrics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ You can retrieve information about the [community standards documents](https://d
4141

4242
### Repository metrics
4343

44-
(coming soon)
44+
The Repository object in the GraphQL API is the primary location for metrics which relate to project health. These metrics are available in the `Repository` object, and while there are lots of interesting fields available, we've recently coalesced the most useful ones under the `metrics` field. Check the [API docs](https://docs.github.com/en/graphql/reference/objects#repository) for the full list.
4545

46-
### Organization metrics
47-
48-
(coming soon)
46+
- **LastContributionDate** - The most recent date there was _any of_ the following activity: a commit to a repository’s default branch, opening an issue or discussion, answering a discussion, proposing a pull request, or submitting a pull request review. This is a good single-number metric to find projects that may be unmaintained or in need of archiving.
47+
- **CommitCount** - A monotonically increasing count of the total number of commits pushed to the default branch of the repository. Tracking the change in this over time will give a sense of the overall activity in the repository.
48+
- **IssueCommentCount** - Similar to CommitCount, this is a monotonically increasing count of the total number of comments on issues in the repository.

0 commit comments

Comments
 (0)