{{< details >}}

  • Tier: 基础版,专业版,旗舰版
  • Offering: 私有化部署

{{< /details >}}

极狐 GitLab 的 GitHub 导入工具公开了各种 Prometheus 指标,您可以使用这些指标来监控导入工具的健康状况和进度。

导入持续时间

Name Type
github_importer_total_duration_seconds histogram

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

导入项目的数量

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

此指标跟踪所有项目中导入的议题数量。项目的名称存储在 project 标签中,格式为 namespace/name(例如 gitlab-org/gitlab)。

导入拉取请求的数量

Name Type
github_importer_imported_pull_requests counter

此指标跟踪所有项目中导入的拉取请求数量。项目的名称存储在 project 标签中,格式为 namespace/name(例如 gitlab-org/gitlab)。

导入评论的数量

Name Type
github_importer_imported_notes counter

此指标跟踪所有项目中导入的评论数量。项目的名称存储在 project 标签中,格式为 namespace/name(例如 gitlab-org/gitlab)。

导入拉取请求审查评论的数量

Name Type
github_importer_imported_diff_notes counter

此指标跟踪所有项目中导入的评论数量。项目的名称存储在 project 标签中,格式为 namespace/name(例如 gitlab-org/gitlab)。

导入仓库的数量

Name Type
github_importer_imported_repositories counter

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