애플리케이션 통계 API
Tier: Free, Premium, Ultimate
Offering: Self-managed, GitLab Dedicated
현재 애플리케이션 통계 가져오기
현재 GitLab 인스턴스의 통계를 나열합니다. 이 작업을 수행하려면 관리자가 되어야 합니다.
이 통계는 10,000 미만의 값에 대한 정확한 수치를 보여줍니다. 10,000 이상인 경우, 이러한 통계는 TablesampleCountStrategy 및 ReltuplesCountStrategy 전략이 계산에 사용될 때 대략적인 데이터를 보여줍니다.
GET /application/statistics
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/statistics"
예시 응답:
{
"forks": "10",
"issues": "76",
"merge_requests": "27",
"notes": "954",
"snippets": "50",
"ssh_keys": "10",
"milestones": "40",
"users": "50",
"groups": "10",
"projects": "20",
"active_users": "50"
}