Help us learn about your current experience with the documentation. Take the survey.

监控 GitHub 导入

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab Self-Managed

GitHub 导入器提供了多种 Prometheus 指标,您可以用它们来监控导入器的运行状态和进度。

导入耗时

Name Type
github_importer_total_duration_seconds histogram

此指标跟踪每个导入项目所花费的总时间(以秒为单位),时间从项目创建开始,直到导入过程完成。 项目名称以 namespace/name 的格式(例如 gitlab-org/gitlab)存储在 project 标签中。

已导入项目数

Name Type
github_importer_imported_projects counter

此指标跟踪随时间推移导入的项目总数。此指标不公开任何标签。

GitHub API 调用次数

Name Type
github_importer_request_count counter

此指标跟踪所有项目随时间推移执行的 GitHub API 调用总数。此指标不公开任何标签。

速率限制错误

Name Type
github_importer_rate_limit_hits counter

此指标跟踪所有项目达到 GitHub 速率限制的次数。此指标不公开任何标签。

已导入议题数

Name Type
github_importer_imported_issues counter

此指标跟踪所有项目中已导入的议题数量。

项目名称以 namespace/name 的格式(例如 gitlab-org/gitlab)存储在 project 标签中。

已导入合并请求数

Name Type
github_importer_imported_pull_requests counter

此指标跟踪所有项目中已导入的合并请求的数量。

项目名称以 namespace/name 的格式(例如 gitlab-org/gitlab)存储在 project 标签中。

已导入评论数

Name Type
github_importer_imported_notes counter

此指标跟踪所有项目中已导入的评论数量。

项目名称以 namespace/name 的格式(例如 gitlab-org/gitlab)存储在 project 标签中。

已导入合并请求审查评论数

Name Type
github_importer_imported_diff_notes counter

此指标跟踪所有项目中已导入的评论数量。

项目名称以 namespace/name 的格式(例如 gitlab-org/gitlab)存储在 project 标签中。

已导入仓库数

Name Type
github_importer_imported_repositories counter

此指标跟踪所有项目中已导入的仓库数量。此指标不公开任何标签。