From ff2de2f179bb7448e286ef4be796082bfd3c0f5c Mon Sep 17 00:00:00 2001 From: Darby Frey Date: Thu, 7 Mar 2019 17:08:29 +0000 Subject: Adding additional usage metrics for Release to weekly ping --- lib/gitlab/usage_data.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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), -- cgit v1.2.3