Add Upload count to usage data

This commit is contained in:
Robert Speicher 2017-03-09 11:00:25 -05:00 committed by Rémy Coutable
parent f30a46b401
commit e21ed5fe77
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ module Gitlab
services: Service.where(active: true).count, services: Service.where(active: true).count,
snippets: Snippet.count, snippets: Snippet.count,
todos: Todo.count, todos: Todo.count,
uploads: Upload.count,
web_hooks: WebHook.count web_hooks: WebHook.count
} }
} }

View File

@ -49,6 +49,7 @@ describe Gitlab::UsageData do
services services
snippets snippets
todos todos
uploads
web_hooks web_hooks
)) ))
end end