diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-04 18:08:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-04 18:08:46 +0300 |
commit | adf76f8f1d6da3ecbd8aa5d2da68dc8456283e8f (patch) | |
tree | 8f422d83a2690d0fdb3fd0ee55cf225e40fd976a /lib | |
parent | 6724a6ee6b0898470e20f294f1328cc01891756a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-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 22c344a27f7..5ea84a35d17 100644 --- a/lib/gitlab/usage_data.rb +++ b/lib/gitlab/usage_data.rb @@ -181,6 +181,7 @@ module Gitlab successful_deployments: deployment_count(Deployment.success.where(last_28_days_time_period)), failed_deployments: deployment_count(Deployment.failed.where(last_28_days_time_period)), # rubocop: enable UsageData/LargeTable: + packages: count(::Packages::Package.where(last_28_days_time_period)), personal_snippets: count(PersonalSnippet.where(last_28_days_time_period)), project_snippets: count(ProjectSnippet.where(last_28_days_time_period)) }.tap do |data| |