Merge branch '34563-usage-ping-github' into 'master'
Add github imported projects count to usage data Closes #34563 See merge request !12959
This commit is contained in:
commit
b042765d2f
3 changed files with 6 additions and 0 deletions
4
changelogs/unreleased/34563-usage-ping-github.yml
Normal file
4
changelogs/unreleased/34563-usage-ping-github.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Add GitHub imported projects count to usage data
|
||||
merge_request:
|
||||
author:
|
|
@ -39,6 +39,7 @@ module Gitlab
|
|||
notes: Note.count,
|
||||
pages_domains: PagesDomain.count,
|
||||
projects: Project.count,
|
||||
projects_imported_from_github: Project.where(import_type: 'github').count,
|
||||
projects_prometheus_active: PrometheusService.active.count,
|
||||
protected_branches: ProtectedBranch.count,
|
||||
releases: Release.count,
|
||||
|
|
|
@ -48,6 +48,7 @@ describe Gitlab::UsageData do
|
|||
milestones
|
||||
notes
|
||||
projects
|
||||
projects_imported_from_github
|
||||
projects_prometheus_active
|
||||
pages_domains
|
||||
protected_branches
|
||||
|
|
Loading…
Reference in a new issue