Monitoring GitHub imports

The GitHub importer exposes various Prometheus metrics that you can use to monitor the health and progress of the importer.

Import Duration Times

NameType
github_importer_total_duration_secondshistogram

This metric tracks the total time, in seconds, spent importing a project (from project creation until the import process finishes), for every imported project. The name of the project is stored in the project label in the format namespace/name (such as gitlab-org/gitlab).

Number of imported projects

NameType
github_importer_imported_projectscounter

This metric tracks the total number of projects imported over time. This metric does not expose any labels.

Number of GitHub API calls

NameType
github_importer_request_countcounter

This metric tracks the total number of GitHub API calls performed over time, for all projects. This metric does not expose any labels.

Rate limit errors

NameType
github_importer_rate_limit_hitscounter

This metric tracks the number of times we hit the GitHub rate limit, for all projects. This metric does not expose any labels.

Number of imported issues

NameType
github_importer_imported_issuescounter

This metric tracks the number of imported issues across all projects.

The name of the project is stored in the project label in the format namespace/name (such as gitlab-org/gitlab).

Number of imported pull requests

NameType
github_importer_imported_pull_requestscounter

This metric tracks the number of imported pull requests across all projects.

The name of the project is stored in the project label in the format namespace/name (such as gitlab-org/gitlab).

Number of imported comments

NameType
github_importer_imported_notescounter

This metric tracks the number of imported comments across all projects.

The name of the project is stored in the project label in the format namespace/name (such as gitlab-org/gitlab).

Number of imported pull request review comments

NameType
github_importer_imported_diff_notescounter

This metric tracks the number of imported comments across all projects.

The name of the project is stored in the project label in the format namespace/name (such as gitlab-org/gitlab).

Number of imported repositories

NameType
github_importer_imported_repositoriescounter

This metric tracks the number of imported repositories across all projects. This metric does not expose any labels.