diff options
author | Logan King <lking@gitlab.com> | 2019-03-25 10:42:08 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-03-25 10:42:08 +0300 |
commit | 0cd7ebf717970f9db9298e49959bbbc78bc17342 (patch) | |
tree | e0a17ed0eb3f0a821b03b17d32b84bcaaa81d8cf /lib/gitlab/usage_data.rb | |
parent | 66115fee28faece4290b0649c3284fd14384a4b2 (diff) |
Add error tracking usage counts
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r-- | lib/gitlab/usage_data.rb | 1 |
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), |