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:
authorLogan King <lking@gitlab.com>2019-03-25 10:42:08 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-03-25 10:42:08 +0300
commit0cd7ebf717970f9db9298e49959bbbc78bc17342 (patch)
treee0a17ed0eb3f0a821b03b17d32b84bcaaa81d8cf /lib/gitlab/usage_data.rb
parent66115fee28faece4290b0649c3284fd14384a4b2 (diff)
Add error tracking usage counts
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 f9c9ea4f936..75477c7cf18 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -84,6 +84,7 @@ module Gitlab
projects: count(Project),
projects_imported_from_github: count(Project.where(import_type: 'github')),
projects_with_repositories_enabled: count(ProjectFeature.where('repository_access_level > ?', ProjectFeature::DISABLED)),
+ projects_with_error_tracking_enabled: count(::ErrorTracking::ProjectErrorTrackingSetting.where(enabled: true)),
protected_branches: count(ProtectedBranch),
releases: count(Release),
remote_mirrors: count(RemoteMirror),