summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-10-16 08:12:46 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-10-16 08:12:46 +0000
commit076231798dd9716479d8eef118678eeb7c2c7b11 (patch)
treee127bc6c18512bde7882363a4c23061e2d6fad0e /lib
parent7a8b97e10854f3e2f6e51a2f45bcf80cfdb9926a (diff)
parenta6b2387d3fa270e6c6069c1b7c52d01f2eb820d3 (diff)
downloadgitlab-ce-076231798dd9716479d8eef118678eeb7c2c7b11.tar.gz
Merge branch 'fix/sm/38960-collect-usage-pings-gcp-cluster-enabled-and-gcp-cluster-disabled-instead-of-gcp-cluster-count' into 'master'
Collect usage pings `Gcp::Cluster.enabled` and `Gcp::Cluster.disabled`, instead of `Gcp::Cluster.count` Closes #38960 See merge request gitlab-org/gitlab-ce!14807
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 3f3ba77d47f..70a403652e7 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -49,6 +49,8 @@ module Gitlab
deployments: Deployment.count,
environments: ::Environment.count,
gcp_clusters: ::Gcp::Cluster.count,
+ gcp_clusters_enabled: ::Gcp::Cluster.enabled.count,
+ gcp_clusters_disabled: ::Gcp::Cluster.disabled.count,
in_review_folder: ::Environment.in_review_folder.count,
groups: Group.count,
issues: Issue.count,