Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b61199ce
Commit
b61199ce
authored
Apr 06, 2017
by
Sean McGivern
Committed by
Rémy Coutable
Apr 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add prometheus services to usage ping
parent
092258e9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
doc/user/admin_area/settings/usage_statistics.md
doc/user/admin_area/settings/usage_statistics.md
+2
-1
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-0
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+1
-0
No files found.
doc/user/admin_area/settings/usage_statistics.md
View file @
b61199ce
...
...
@@ -62,6 +62,7 @@ The total number of the following is sent back to GitLab Inc.:
-
Deploy keys
-
Pages
-
Project Services
-
Projects using the Prometheus service
-
Issue Boards
-
CI Runners
-
Deployments
...
...
lib/gitlab/usage_data.rb
View file @
b61199ce
...
...
@@ -36,6 +36,7 @@ module Gitlab
notes:
Note
.
count
,
pages_domains:
PagesDomain
.
count
,
projects:
Project
.
count
,
projects_prometheus_active:
PrometheusService
.
active
.
count
,
protected_branches:
ProtectedBranch
.
count
,
releases:
Release
.
count
,
services:
Service
.
where
(
active:
true
).
count
,
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
b61199ce
...
...
@@ -44,6 +44,7 @@ describe Gitlab::UsageData do
milestones
notes
projects
projects_prometheus_active
pages_domains
protected_branches
releases
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment