diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-09 11:00:25 -0500 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-14 15:20:55 +0200 |
commit | e21ed5fe776a6b571eaeecd243d020f53584abdc (patch) | |
tree | 26ec5af65141c00648ae1e7cc358fbdc25e177e6 | |
parent | f30a46b401f283f2dc868da17de413eee05198a5 (diff) | |
download | gitlab-ce-e21ed5fe776a6b571eaeecd243d020f53584abdc.tar.gz |
Add Upload count to usage data
-rw-r--r-- | lib/gitlab/usage_data.rb | 1 | ||||
-rw-r--r-- | spec/lib/gitlab/usage_data_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb index 26812ed7164..10170dd8271 100644 --- a/lib/gitlab/usage_data.rb +++ b/lib/gitlab/usage_data.rb @@ -41,6 +41,7 @@ module Gitlab services: Service.where(active: true).count, snippets: Snippet.count, todos: Todo.count, + uploads: Upload.count, web_hooks: WebHook.count } } diff --git a/spec/lib/gitlab/usage_data_spec.rb b/spec/lib/gitlab/usage_data_spec.rb index 920135f79b4..bfaf6154e36 100644 --- a/spec/lib/gitlab/usage_data_spec.rb +++ b/spec/lib/gitlab/usage_data_spec.rb @@ -49,6 +49,7 @@ describe Gitlab::UsageData do services snippets todos + uploads web_hooks )) end |