GitHub
Activity в public/private repositories до останалите project numbers.
What you get
Section titled “What you get”| Metric | How it’s counted | Period value |
|---|---|---|
| Commits | Commits on the default branch, by commit date | Sum of the days |
| PRs merged | Pull requests merged, by merge date | Sum of the days |
| Lines changed | Lines added plus lines removed, leaving out merge commits | Sum of the days |
| Open issues | Issues open right now (pull requests excluded) | Latest observation |
Releases → events.
UTC days. Open issues need issues enabled on repo.
Step 1: Create a token
Section titled “Step 1: Create a token”Fine-grained personal access token — read-only, selected repos.
-
GitHub Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token.
-
Name „Metribay“, expiration.
-
Resource owner — you or org.
-
Repository access → Only select repositories.
-
Permissions → Repository permissions Read-only:
- Contents
- Issues
- Pull requests
Metadata read-only auto.
-
Generate token — copy once.
Orgs may need token approval from owner.
Step 2: Connect it in Metribay
Section titled “Step 2: Connect it in Metribay”-
Add data source → GitHub.
-
Connect an account with your own credentials → Personal access token.
-
Save account and continue.
-
Repository from list.
-
Add and start import.
Enter the repository by hand
Section titled “Enter the repository by hand”Enter it manually — owner/repository, e.g. octocat/hello-world.
Other ways to sign in
Section titled “Other ways to sign in”Classic personal access token. Public repos: no scopes. Private: repo scope (write too) — prefer fine-grained.
GitHub App. Use a GitHub App instead: Client Id, Installation Id, GitHub App private key (PEM). Read-only Contents, Issues, Pull requests. Repos by hand — no list.
Good to know
Section titled “Good to know”- First imports slow on busy repos — full history window walk.
- Every sync rereads whole history window — late merges on default branch.
- Very large repos + long window may hit GitHub limits — shorter window.