Commit b61199ce authored by Sean McGivern's avatar Sean McGivern Committed by Rémy Coutable

Add prometheus services to usage ping

parent 092258e9
...@@ -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
...@@ -75,7 +76,7 @@ The total number of the following is sent back to GitLab Inc.: ...@@ -75,7 +76,7 @@ The total number of the following is sent back to GitLab Inc.:
- Remote mirrors - Remote mirrors
- Web hooks - Web hooks
Also, we track if you've installed Mattermost with GitLab. Also, we track if you've installed Mattermost with GitLab.
For example: `"mattermost_enabled":true"`. For example: `"mattermost_enabled":true"`.
## Privacy policy ## Privacy policy
......
...@@ -36,6 +36,7 @@ module Gitlab ...@@ -36,6 +36,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,
services: Service.where(active: true).count, services: Service.where(active: true).count,
......
...@@ -44,6 +44,7 @@ describe Gitlab::UsageData do ...@@ -44,6 +44,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