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
Léo-Paul Géneau
gitlab-ce
Commits
ff2de2f1
Commit
ff2de2f1
authored
Mar 07, 2019
by
Darby Frey
Committed by
Rémy Coutable
Mar 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding additional usage metrics for Release to weekly ping
parent
a97261f2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+2
-0
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+2
-0
No files found.
lib/gitlab/usage_data.rb
View file @
ff2de2f1
...
@@ -54,6 +54,8 @@ module Gitlab
...
@@ -54,6 +54,8 @@ module Gitlab
auto_devops_disabled:
count
(
::
ProjectAutoDevops
.
disabled
),
auto_devops_disabled:
count
(
::
ProjectAutoDevops
.
disabled
),
deploy_keys:
count
(
DeployKey
),
deploy_keys:
count
(
DeployKey
),
deployments:
count
(
Deployment
),
deployments:
count
(
Deployment
),
successful_deployments:
count
(
Deployment
.
success
),
failed_deployments:
count
(
Deployment
.
failed
),
environments:
count
(
::
Environment
),
environments:
count
(
::
Environment
),
clusters:
count
(
::
Clusters
::
Cluster
),
clusters:
count
(
::
Clusters
::
Cluster
),
clusters_enabled:
count
(
::
Clusters
::
Cluster
.
enabled
),
clusters_enabled:
count
(
::
Clusters
::
Cluster
.
enabled
),
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
ff2de2f1
...
@@ -79,6 +79,8 @@ describe Gitlab::UsageData do
...
@@ -79,6 +79,8 @@ describe Gitlab::UsageData do
auto_devops_disabled
auto_devops_disabled
deploy_keys
deploy_keys
deployments
deployments
successful_deployments
failed_deployments
environments
environments
clusters
clusters
clusters_enabled
clusters_enabled
...
...
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