Skip to content

GitHub

Activity в public/private repositories до останалите project numbers.

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.

Fine-grained personal access token — read-only, selected repos.

  1. GitHub Settings → Developer settings → Personal access tokens → Fine-grained tokens → Generate new token.

  2. Name „Metribay“, expiration.

  3. Resource owner — you or org.

  4. Repository access → Only select repositories.

  5. Permissions → Repository permissions Read-only:

    • Contents
    • Issues
    • Pull requests

    Metadata read-only auto.

  6. Generate token — copy once.

Orgs may need token approval from owner.

  1. Add data source → GitHub.

  2. Connect an account with your own credentials → Personal access token.

  3. Save account and continue.

  4. Repository from list.

  5. Add and start import.

Enter it manually — owner/repository, e.g. octocat/hello-world.

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.

  • 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.

Troubleshooting.