Commit b647aad2 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'bjk/prom_count' into 'master'

Add Prometheus active projects to usage data

See merge request !1576
parents 16990e1e 1cf82f05
...@@ -62,6 +62,7 @@ The total number of the following is sent back to GitLab Inc.: ...@@ -62,6 +62,7 @@ The total number of the following is sent back to GitLab Inc.:
- Deploy keys - Deploy keys
- Pages - Pages
- Project Services - Project Services
- Projects using the Prometheus service
- Issue Boards - Issue Boards
- CI Runners - CI Runners
- Deployments - Deployments
......
...@@ -40,6 +40,7 @@ module Gitlab ...@@ -40,6 +40,7 @@ module Gitlab
notes: Note.count, notes: Note.count,
pages_domains: PagesDomain.count, pages_domains: PagesDomain.count,
projects: Project.count, projects: Project.count,
projects_prometheus_active: PrometheusService.active.count,
protected_branches: ProtectedBranch.count, protected_branches: ProtectedBranch.count,
releases: Release.count, releases: Release.count,
remote_mirrors: RemoteMirror.count, remote_mirrors: RemoteMirror.count,
......
...@@ -54,6 +54,7 @@ describe Gitlab::UsageData do ...@@ -54,6 +54,7 @@ describe Gitlab::UsageData do
milestones milestones
notes notes
projects projects
projects_prometheus_active
pages_domains pages_domains
protected_branches protected_branches
releases releases
......
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