Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-03-07 20:08:30 +0300
committerRémy Coutable <remy@rymai.me>2019-03-07 20:08:30 +0300
commitfc942cd2f98a5991580ce686932fd00da019780c (patch)
tree8202fc1eff66703fdc20bd2bc055214e82febb54 /lib
parenta97261f2184872cffe12b6634d65cfd78581c1b1 (diff)
parentff2de2f179bb7448e286ef4be796082bfd3c0f5c (diff)
Merge branch 'release_usage_metrics' into 'master'
Adding additional usage metrics for Release to weekly ping See merge request gitlab-org/gitlab-ce!25014
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/usage_data.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index 0101ccc046a..f9c9ea4f936 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -54,6 +54,8 @@ module Gitlab
auto_devops_disabled: count(::ProjectAutoDevops.disabled),
deploy_keys: count(DeployKey),
deployments: count(Deployment),
+ successful_deployments: count(Deployment.success),
+ failed_deployments: count(Deployment.failed),
environments: count(::Environment),
clusters: count(::Clusters::Cluster),
clusters_enabled: count(::Clusters::Cluster.enabled),