Commit 2cc063e5 authored by Jarka Kadlecova's avatar Jarka Kadlecova

Add github imported projects count to usage data

parent 3453bc32
---
title: Add GitHub imported projects count to usage data
merge_request:
author:
...@@ -39,6 +39,7 @@ module Gitlab ...@@ -39,6 +39,7 @@ module Gitlab
notes: Note.count, notes: Note.count,
pages_domains: PagesDomain.count, pages_domains: PagesDomain.count,
projects: Project.count, projects: Project.count,
projects_imported_from_github: Project.where(import_type: 'github').count,
projects_prometheus_active: PrometheusService.active.count, projects_prometheus_active: PrometheusService.active.count,
protected_branches: ProtectedBranch.count, protected_branches: ProtectedBranch.count,
releases: Release.count, releases: Release.count,
......
...@@ -48,6 +48,7 @@ describe Gitlab::UsageData do ...@@ -48,6 +48,7 @@ describe Gitlab::UsageData do
milestones milestones
notes notes
projects projects
projects_imported_from_github
projects_prometheus_active projects_prometheus_active
pages_domains pages_domains
protected_branches protected_branches
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment