title: GitLab: Instance statistics
agents: gitlab
catalog: app/gitlab
license: MIT
distribution: check_mk
description:
 Instance-wide application statistics from GET /application/statistics: number
 of projects, users, active users, groups, issues, merge requests, forks, notes,
 snippets, milestones and SSH keys. The service is informational (always {OK})
 and exposes each value as a metric for trending.

 Requires an administrator access token; the endpoint is admin-only and is not
 available on gitlab.com (SaaS), where no service is created. Enable it in the
 special agent rule.
 See https://docs.gitlab.com/api/statistics/

discovery:
 One service is created when statistics are returned.
