Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-07-19 10:07:17 +0300
committerJarka Kadlecova <jarka@gitlab.com>2017-07-19 16:22:05 +0300
commit2cc063e5926337b2d0d168d3de5a865b33d1ec58 (patch)
treede12b14754aa5af9e15ca37898eb33128c734aba /lib/gitlab/usage_data.rb
parent3453bc328465156bf1fdb4c700c7c3b20d0c1967 (diff)
Add github imported projects count to usage data
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r--lib/gitlab/usage_data.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index f19b325a126..dba071d7e47 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -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,